129 Commits (44046fe4fc7f00a6eb855b33e6a3f953cf5233a5)

Author SHA1 Message Date
Guido van Rossum 8d30cc0144 Get rid of all #ifdef Py_USING_UNICODE (it is always present now). 19 years ago
Thomas Wouters 89f507fe8c Four months of trunk changes (including a few releases...) 19 years ago
Armin Rigo 7ccbca93a2 Forward-port of r52136,52138: a review of overflow-detecting code. 20 years ago
Armin Rigo 4b63c21d6f Forward-port of r52136: a review of overflow-detecting code. 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Skip Montanaro 7ff54e7706 C++ compiler cleanup: migrate to modsupport.h 20 years ago
Martin v. Löwis 5cb6936672 Make Py_BuildValue, PyObject_CallFunction and 20 years ago
Martin v. Löwis b1ed7fac12 Replace INT_MAX with PY_SSIZE_T_MAX. 20 years ago
Neal Norwitz 4fe4ed2525 Make mktuple consistent with mklist to get rid of Coverity warnings. Also use macro version of SetItem since we know everything is setup. 20 years ago
Neal Norwitz 3e90fa5940 Try to cleanup the error handling a bit so there aren't false positives 20 years ago
Martin v. Löwis 0b300be895 Fix more memory leaks. Will backport to 2.4. 20 years ago
Martin v. Löwis d96ee90993 Use Py_ssize_t to count the 20 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 20 years ago
Tim Peters 35c3f4f249 do_mkvalue(), 'I' and 'k' cases: squash legitimate 20 years ago
Jeremy Hylton af68c874a6 Add const to several API functions that take char *. 20 years ago
Georg Brandl f06e30af4a bug #1281408: make Py_BuildValue work with unsigned longs and long longs 20 years ago
Neal Norwitz 7bcabc60a3 Fix a few more memory leaks 20 years ago
Michael W. Hudson c849e63eb0 This is Pete Shinners' patch from his bug report 22 years ago
Jack Jansen fb2765666f Getting rid of support for the ancient Apple MPW compiler. 22 years ago
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