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
..
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
boolobject.h
bufferobject.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
cellobject.h
ceval.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
classobject.h
cobject.h
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
cStringIO.h Merge ssize_t branch. 2006-02-15 17:27:45 +00:00
datetime.h
descrobject.h
dictobject.h Extend work on revision 52962: Eliminate redundant calls to PyObject_Hash(). 2007-02-19 03:04:45 +00:00
enumobject.h
errcode.h
eval.h
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
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
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
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
iterobject.h
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
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
pgenheaders.h
py_curses.h
pyarena.h Added words about what PyArena_Malloc() does. 2006-03-02 21:14:45 +00:00
pydebug.h
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
pygetopt.h
pymactoolbox.h
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
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
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
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
symtable.h Patch #1346214: correctly optimize away "if 0"-style stmts 2006-06-04 21:56:52 +00:00
sysmodule.h
timefuncs.h
token.h
traceback.h
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