109 Commits (8c59816b70a30d8ec2ff4e60a8b4a747f8ff75db)

Author SHA1 Message Date
Martin v. Löwis f8d59d28e0 Patch #828384: Don't discard nested exception in AddObject. 23 years ago
Jeremy Hylton c44dbc46fe Better error message 23 years ago
Jack Jansen dbd6503e97 dded missing k and K format specifiers to Py_BuildValue and friends. 23 years ago
Martin v. Löwis b9a0f91218 Rename LONG_LONG to PY_LONG_LONG. Fixes #710285. 23 years ago
Jeremy Hylton 4f0dcc9a9a Provide __module__ attributes for functions defined in C and Python. 23 years ago
Fred Drake ceead6d957 Style consistency, so "grep ^function ..." works as expected. 23 years ago
Just van Rossum bbfd859521 Fixed potential crash: v can be NULL here, so use Py_XDECREF rather than Py_DECREF 23 years ago
Fred Drake 233cc5987b Py_InitModule4(): Accept NULL for the 'methods' argument. This makes 24 years ago
Martin v. Löwis 75d2d94e0f Patch #554716: Use __va_copy where available. 24 years ago
Fred Drake 8311518a58 PyModule_AddObject(): Added missing exceptions. 24 years ago
Fred Drake 7bf9715a8b Introduce two new flag bits that can be set in a PyMethodDef method 24 years ago
Martin v. Löwis 339d0f720e Patch #445762: Support --disable-unicode 25 years ago
Fred Drake 289898cdbb Plug a memory leak in Py_InitModule4(): when PyDict_SetItemString() failed, 25 years ago
Marc-André Lemburg e5006ebc9d This patch turns the Python API mismatch notice into a standard 25 years ago
Fred Drake aec79247b1 Py_BuildValue(): Add "D" conversion to create a Python complex value from 25 years ago
Fred Drake d5fadf75e4 Rationalize use of limits.h, moving the inclusion to Python.h. 26 years ago
Fred Drake 9e2851566c Andrew Kuchling <akuchlin@mems-exchange.org>: 26 years ago
Jack Jansen b763b9d9d5 Cast UCHAR_MAX to int before doing the comparison for overflow of the 26 years ago
Guido van Rossum 8586991099 REMOVED all CWI, CNRI and BeOpen copyright markings. 26 years ago
Guido van Rossum 413407f103 Add a test that Py_IsInitialized() in Py_InitModule4(). See 26 years ago
Thomas Wouters f70ef4f860 Mass ANSIfication of function definitions. Doesn't cover all 'extern' 26 years ago
Tim Peters dbd9ba6a6c Nuke all remaining occurrences of Py_PROTO and Py_FPROTO. 26 years ago
Jack Jansen d50338fbd9 Added support for H (unsigned short) specifier in PyArg_ParseTuple and 26 years ago
Jack Jansen 41aa8e523d Include limits.h if we have it. 26 years ago
Guido van Rossum ffcc3813d8 Change copyright notice - 2nd try. 26 years ago
Guido van Rossum fd71b9e9d4 Change copyright notice. 26 years ago
Guido van Rossum 582acece2e Trent Mick's Win64 changes: size_t vs. int or long; also some overflow 26 years ago
Fred Drake 25d34473c3 Brian Hooper <brian_takashi@hotmail.com>: 26 years ago
Guido van Rossum 3dbba6ec3a Change rare occurrences of #if HAVE_LONG_LONG to #ifdef. 27 years ago
Guido van Rossum c38e7d4c4b Oops, forgot a pair of {}'s. (Greg Couch) 27 years ago
Guido van Rossum d341500d8f Add 'N' format character to Py_BuildValue -- like 'O' but doesn't INCREF. 27 years ago
Guido van Rossum 3293b07df5 Patch by Mark Hammond to support 64-bit ints on MS platforms. 28 years ago
Guido van Rossum c4099e6b3c # Fix strange type (methonname instead of methodname). 28 years ago
Guido van Rossum 1a8791e0b8 Changes for BeOS, QNX and long long, by Chris Herborth. 28 years ago
Guido van Rossum 233f4b54d3 Two error messages still used the old name of the functio mkvalue() -- 28 years ago
Guido van Rossum db847bd9ea Plug memory leak in Py_BuildValue when using {...} to construct dictionaries. 29 years ago
Guido van Rossum 2e58ff3ef5 Fix importing of shared libraries from inside packages. 29 years ago
Guido van Rossum 40b33c648a Removed fatal errors from Py_Initmodule4() (and thus from 29 years ago
Guido van Rossum 79f25d9a7b Quickly renamed the remaining files -- this directory is done. 29 years ago
Guido van Rossum d266eb460e New permission notice, includes CNRI. 30 years ago
Sjoerd Mullender 996e6dc959 Corrected format string in api_version_warning. 30 years ago
Guido van Rossum 59461c7052 use PROTO macro around fn prototype 31 years ago
Guido van Rossum d1b9393ba5 support "O&" taking an object constructor a void* 31 years ago
Guido van Rossum 2ac3bc2c05 rename method arg because of typedef conflict 31 years ago
Guido van Rossum 970a0a20b8 api version checking 31 years ago
Guido van Rossum 50620fa9b8 New newmethodobject() interface takes struct methodlist pointer 31 years ago
Guido van Rossum 6d023c98b0 Added 1995 to copyright message. 31 years ago
Guido van Rossum 1ae940a587 Lots of changes, most minor (fatal() instead of abort(), use of 31 years ago
Guido van Rossum fe3f1a256b * Python/{modsupport.c,getargs.c,Makefile.in}, 32 years ago
Guido van Rossum 1d5735e846 Merge back to main trunk 32 years ago