summaryrefslogtreecommitdiff
path: root/Python/modsupport.c
AgeCommit message (Expand)AuthorLines
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-469/+469
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-5/+5
2008-05-26Renamed PyString to PyBytesChristian Heimes-5/+5
2008-01-19#1782: don't leak in error case in PyModule_AddXxxConstant. Patch by Hrvoje N...Georg Brandl-2/+14
2006-10-04Forward-port of r52136,52138: a review of overflow-detecting code.Armin Rigo-1/+1
2006-04-18C++ compiler cleanup: migrate to modsupport.hSkip Montanaro-3/+0
2006-04-14Make Py_BuildValue, PyObject_CallFunction andMartin v. Löwis-22/+57
2006-04-13Replace INT_MAX with PY_SSIZE_T_MAX.Martin v. Löwis-1/+1
2006-03-16Make mktuple consistent with mklist to get rid of Coverity warnings. Also us...Neal Norwitz-10/+10
2006-03-06Try to cleanup the error handling a bit so there aren't false positivesNeal Norwitz-8/+12
2006-03-01Fix more memory leaks. Will backport to 2.4.Martin v. Löwis-1/+5
2006-02-16Use Py_ssize_t to count theMartin v. Löwis-1/+1
2006-02-15Merge ssize_t branch.Martin v. Löwis-1/+6
2005-12-24do_mkvalue(), 'I' and 'k' cases: squash legitimateTim Peters-2/+2
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-18/+18
2005-11-24bug #1281408: make Py_BuildValue work with unsigned longs and long longsGeorg Brandl-3/+20
2005-11-20Fix a few more memory leaksNeal Norwitz-0/+1
2004-07-14This is Pete Shinners' patch from his bug reportMichael W. Hudson-10/+30
2003-11-19Getting rid of support for the ancient Apple MPW compiler.Jack Jansen-4/+0
2003-10-24Patch #828384: Don't discard nested exception in AddObject.Martin v. Löwis-2/+3
2003-06-21Better error messageJeremy Hylton-1/+7
2003-04-17dded missing k and K format specifiers to Py_BuildValue and friends.Jack Jansen-0/+6
2003-03-29Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.Martin v. Löwis-1/+1
2003-01-31Provide __module__ attributes for functions defined in C and Python.Jeremy Hylton-2/+14
2003-01-30Style consistency, so "grep ^function ..." works as expected.Fred Drake-2/+4
2002-12-15Fixed potential crash: v can be NULL here, so use Py_XDECREF rather than Py_D...Just van Rossum-1/+1
2002-08-14Py_InitModule4(): Accept NULL for the 'methods' argument. This makesFred Drake-14/+16
2002-07-28Patch #554716: Use __va_copy where available.Martin v. Löwis-0/+4
2002-06-17PyModule_AddObject(): Added missing exceptions.Fred Drake-7/+14
2002-03-28Introduce two new flag bits that can be set in a PyMethodDef methodFred Drake-0/+7
2001-08-17Patch #445762: Support --disable-unicodeMartin v. Löwis-0/+4
2001-08-04Plug a memory leak in Py_InitModule4(): when PyDict_SetItemString() failed,Fred Drake-2/+6
2001-07-31This patch turns the Python API mismatch notice into a standardMarc-André Lemburg-5/+11
2001-03-12Py_BuildValue(): Add "D" conversion to create a Python complex value fromFred Drake-0/+6
2000-09-26Rationalize use of limits.h, moving the inclusion to Python.h.Fred Drake-3/+0
2000-09-23Andrew Kuchling <akuchlin@mems-exchange.org>:Fred Drake-0/+27
2000-09-15Cast UCHAR_MAX to int before doing the comparison for overflow of theJack Jansen-0/+1
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
2000-08-04Add a test that Py_IsInitialized() in Py_InitModule4(). SeeGuido van Rossum-0/+2
2000-07-22Mass ANSIfication of function definitions. Doesn't cover all 'extern'Thomas Wouters-68/+8
2000-07-09Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.Tim Peters-6/+6
2000-07-06Added support for H (unsigned short) specifier in PyArg_ParseTuple andJack Jansen-0/+3
2000-07-03Include limits.h if we have it.Jack Jansen-0/+3
2000-06-30Change copyright notice - 2nd try.Guido van Rossum-6/+0
2000-06-30Change copyright notice.Guido van Rossum-21/+6
2000-06-28Trent Mick's Win64 changes: size_t vs. int or long; also some overflowGuido van Rossum-2/+9
2000-04-28Brian Hooper <brian_takashi@hotmail.com>:Fred Drake-1/+31
1999-01-25Change rare occurrences of #if HAVE_LONG_LONG to #ifdef.Guido van Rossum-1/+1
1998-12-23Oops, forgot a pair of {}'s. (Greg Couch)Guido van Rossum-1/+2
1998-12-23Add 'N' format character to Py_BuildValue -- like 'O' but doesn't INCREF.Guido van Rossum-1/+3