cpython/Include
Neal Norwitz 83ac0144fa Backport code from r65182:
Issue #2620: Overflow checking when allocating or reallocating memory
was not always being done properly in some python types and extension
modules.  PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
all been updated to perform better checks and places in the code that
would previously leak memory on the error path when such an allocation
failed have been fixed.
2008-07-28 05:06:20 +00:00
..
Python-ast.h Prefix AST symbols with _Py_. Fixes #1637022. 2007-01-19 06:42:33 +00:00
Python.h Patch #1495999: Part two of Windows CE changes. 2006-06-10 12:23:46 +00:00
abstract.h Patch #1580872: Remove duplicate declaration of PyCallable_Check. 2006-10-22 10:47:28 +00:00
asdl.h Introduce asdl_int_seq, to hold cmpop_ty. 2006-04-13 12:29:43 +00:00
ast.h Merge from ast-arena. This reduces the code in Python/ast.c by ~300 lines, 2005-12-17 20:54:49 +00:00
bitset.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
boolobject.h SF bug 994255: Py_RETURN_NONE causes too much warnings 2004-07-22 01:46:43 +00:00
bufferobject.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
cStringIO.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
cellobject.h Wrote down the invariants of some common objects whose structure is 2004-10-28 16:32:00 +00:00
ceval.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
classobject.h Typo repair. 2003-04-08 18:47:21 +00:00
cobject.h Make CObjects mutable. Fixes #477441. 2003-10-19 18:30:01 +00:00
code.h Merge from rjones-funccall branch. 2006-05-23 10:37:38 +00:00
codecs.h Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass 2006-03-15 11:35:15 +00:00
compile.h Don't abbreviate ABS, use long name ABSOLUTE. 2006-04-03 06:26:32 +00:00
complexobject.h SF # 607253, header file problems by Ralf W. Grosse-Kunstleve 2002-10-04 12:43:02 +00:00
datetime.h Add missing backslash for PyDateTimeAPI->Delta_FromDelta() macro. 2004-06-28 00:48:30 +00:00
descrobject.h SF 548651: Fix the METH_CLASS implementation. 2002-12-09 22:56:13 +00:00
dictobject.h Extend work on revision 52962: Eliminate redundant calls to PyObject_Hash(). 2007-02-19 03:04:45 +00:00
enumobject.h Implement and apply PEP 322, reverse iteration 2003-11-06 14:06:48 +00:00
errcode.h Patch #802188: better parser error message for non-EOL following line cont. 2005-03-03 11:45:45 +00:00
eval.h - New function sys.call_tracing() allows pdb to debug code 2003-04-09 19:06:21 +00:00
fileobject.h Merge change 54982 from the trunk. This fixes the test_subprocess test in the testsuite for VisualStudio2005 builds, by "sanitizing" the "mode" that is used in the posixmodule's fdopen(). In particular the non-standard "U" mode character is removed. 2007-05-07 19:25:38 +00:00
floatobject.h This is my patch: 2005-05-27 15:23:20 +00:00
frameobject.h Get rid of f_restricted too. Doc the other 4 ints that were already removed 2006-06-12 02:11:18 +00:00
funcobject.h Wrote down the invariants of some common objects whose structure is 2004-10-28 16:32:00 +00:00
genobject.h Don't set gi_frame to Py_None, use NULL instead, eliminating some insane 2006-04-12 19:07:15 +00:00
graminit.h PEP 343 -- the with-statement. 2006-02-27 22:32:47 +00:00
grammar.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
import.h SF #1542693: Remove semi-colon at end of PyImport_ImportModuleEx macro 2006-08-19 04:19:43 +00:00
intobject.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
intrcheck.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
iterobject.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
listobject.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
longintrepr.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
longobject.h A new table to help string->integer conversion was added yesterday to 2006-05-25 17:34:03 +00:00
marshal.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
metagrammar.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
methodobject.h Add const to several API functions that take char *. 2005-12-10 18:50:16 +00:00
modsupport.h C++ compile cleanup: proper declaration of _Py_BuildValue_SizeT 2006-04-18 00:29:29 +00:00
moduleobject.h Add const to several API functions that take char *. 2005-12-10 18:50:16 +00:00
node.h Patch #1440601: Add col_offset attribute to AST nodes. 2006-03-01 22:49:05 +00:00
object.h Patch #1538606, Patch to fix __index__() clipping. 2006-08-12 17:03:09 +00:00
objimpl.h frame_traverse(): Use the standard Py_VISIT macro. 2006-04-15 03:22:46 +00:00
opcode.h Fix #1752132: wrong comment in opcode description. 2007-07-11 19:41:53 +00:00
osdefs.h Define MAXPATHLEN to be at least PATH_MAX, if that's defined. Python uses 2006-04-25 15:29:46 +00:00
parsetok.h from __future__ import with_statement addon for 'with', mostly written by 2006-02-28 19:02:24 +00:00
patchlevel.h Bump version for 2.5.3a0. 2008-02-23 17:35:47 +00:00
pgen.h Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to 2003-04-17 14:55:42 +00:00
pgenheaders.h Use Py_GCC_ATTRIBUTE instead of __attribute__. Compilers other than GCC 2002-09-15 14:09:54 +00:00
py_curses.h FreeBSD 5.x uses different wchar_t/win_t guards than earlier versions 2003-06-29 15:46:21 +00:00
pyarena.h Added words about what PyArena_Malloc() does. 2006-03-02 21:14:45 +00:00
pydebug.h Update comment, QnewFlag will go away in 3.0, not 2.3 2003-01-13 16:08:56 +00:00
pyerrors.h Slightly revised version of patch #1538956: 2006-08-14 10:55:19 +00:00
pyexpat.h Upgrade pyexpat to expat 2.0.0 (http://python.org/sf/1462338). 2006-06-19 23:21:25 +00:00
pyfpe.h Some patches to Lee Busby's fpectl mods that accidentally didn't make it 1997-10-20 23:50:01 +00:00
pygetopt.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
pymactoolbox.h SF patch #1035255: Remove CoreServices / CoreFoundation dependencies in core 2004-11-05 07:02:59 +00:00
pymem.h Backport code from r65182: 2008-07-28 05:06:20 +00:00
pyport.h Added checks for integer overflows, contributed by Google. Some are 2008-02-14 11:26:18 +00:00
pystate.h Bug #742342: make Python stop segfaulting on infinitely-recursive reload()s. Fixed by patch #922167. 2007-03-12 16:49:23 +00:00
pystrtod.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
pythonrun.h Don't abbreviate ABS, use long name ABSOLUTE. 2006-04-03 06:26:32 +00:00
pythread.h Patch #1454481: Make thread stack size runtime tunable. 2006-06-13 15:04:24 +00:00
rangeobject.h Remove PyRange_New(). 2004-12-03 11:45:13 +00:00
setobject.h Extend work on rev 52962 and 53830 eliminating redundant PyObject_Hash() calls and fixing set/dict interoperability. 2007-03-20 21:45:04 +00:00
sliceobject.h Stop duplicating code and handle slice indices consistently and correctly 2006-03-23 06:03:08 +00:00
stringobject.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
structmember.h Allow for ssize_t field offsets. 2006-02-16 14:23:19 +00:00
structseq.h Clean up some whitespace to be consistent with Python's C style. 2002-10-17 19:48:27 +00:00
symtable.h Patch #1346214: correctly optimize away "if 0"-style stmts 2006-06-04 21:56:52 +00:00
sysmodule.h Use Py_GCC_ATTRIBUTE instead of __attribute__. Compilers other than GCC 2002-09-15 14:09:54 +00:00
timefuncs.h Bug 975996: Add _PyTime_DoubleToTimet to C API 2004-06-20 02:50:16 +00:00
token.h PEP-0318, @decorator-style. In Guido's words: 2004-08-02 06:10:11 +00:00
traceback.h Moved tracebackobject to traceback.h, Closes SF Bug #497067 2004-03-21 18:37:23 +00:00
tupleobject.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
ucnhash.h Avoid forward-declaring the methods array. 2006-03-10 11:20:04 +00:00
unicodeobject.h Slightly revised version of patch #1538956: 2006-08-14 10:55:19 +00:00
weakrefobject.h _PyWeakref_GetWeakrefCount() now returns a Py_ssize_t instead of long. 2006-08-02 06:14:22 +00:00