cpython/Include
Tim Peters af3e8de580 First stab at rationalizing the PyMem_ API. Mixing PyObject_xyz with
PyMem_{Del, DEL} doesn't work yet (compilation problems).

pyport.h:  _PyMem_EXTRA is gone.

pmem.h:  Repaired comments.  PyMem_{Malloc, MALLOC} and
PyMem_{Realloc, REALLOC} now make the same x-platform guarantees when
asking for 0 bytes, and when passing a NULL pointer to the latter.

object.c:  PyMem_{Malloc, Realloc} just call their macro versions
now, since the latter take care of the x-platform 0 and NULL stuff
by themselves now.

pypcre.c, grow_stack():  So sue me.  On two lines, this called
PyMem_RESIZE to grow a "const" area.  It's not legit to realloc a
const area, so the compiler warned given the new expansion of
PyMem_RESIZE.  It would have gotten the same warning before if it
had used PyMem_Resize() instead; the older macro version, but not the
function version, silently cast away the constness.  IMO that was a wrong
thing to do, and the docs say the macro versions of PyMem_xyz are
deprecated anyway.  If somebody else is resizing const areas with the
macro spelling, they'll get a warning when they recompile now too.
2002-04-12 07:22:56 +00:00
..
Python.h Add the 'bool' type and its values 'False' and 'True', as described in 2002-04-03 22:41:51 +00:00
abstract.h Implement PyObject_DelItemString. Fixes #498915. 2002-01-05 10:50:30 +00:00
bitset.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
boolobject.h Add standard header preamble and footer, a-la intobject.h. Main purpose is extern "C" for C++ programs. 2002-04-06 03:58:41 +00:00
bufferobject.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
cStringIO.h Removed old Digital Creations copyright/license notices (with 2002-04-04 17:52:50 +00:00
cellobject.h Cells are not VAR objects. 2002-02-28 23:46:34 +00:00
ceval.h Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
classobject.h PyMethodObject(): Update the comment about im_class based upon a 2001-12-07 21:54:33 +00:00
cobject.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
codecs.h Changing the CNRI copyright notice according to CNRI's instructions. 2000-08-03 16:24:25 +00:00
compile.h Removed more hair in support of future-generator stmts. 2002-04-12 01:20:10 +00:00
complexobject.h Again perhaps the end of [#460020] bug or feature: unicode() and subclasses. 2001-09-12 19:12:49 +00:00
descrobject.h Patch #536908: Add missing #include guards/extern "C". 2002-03-30 08:57:12 +00:00
dictobject.h Get rid of USE_CACHE_ALIGNED. It has no function anymore. 2002-04-11 20:41:18 +00:00
errcode.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
eval.h Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
fileobject.h Patch #530105: Allow file object may to be subtyped 2002-03-15 17:42:16 +00:00
floatobject.h More for SF bug [#460020] bug or feature: unicode() and subclasses 2001-09-10 21:28:20 +00:00
frameobject.h Make frames a PyVarObject instead of a PyObject. 2001-08-29 23:45:25 +00:00
funcobject.h Merge of descr-branch back into trunk. 2001-08-02 04:15:00 +00:00
graminit.h Very subtle syntax change: in a list comprehension, the testlist in 2001-10-15 15:44:05 +00:00
grammar.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
import.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
intobject.h Add the 'bool' type and its values 'False' and 'True', as described in 2002-04-03 22:41:51 +00:00
intrcheck.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
iterobject.h Patch #536908: Add missing #include guards/extern "C". 2002-03-30 08:57:12 +00:00
listobject.h Introduced the oddly-missing PyList_CheckExact(), and used it to replace 2001-10-05 20:41:38 +00:00
longintrepr.h For clarity, change _longobject to build directly from PyObject_VAR_HEAD 2002-03-02 04:33:09 +00:00
longobject.h SF bug #460020: bug or feature: unicode() and subclasses. 2001-09-10 20:52:51 +00:00
marshal.h It's unclear whether PyMarshal_XXX() are part of the public or private API. 2001-01-28 00:27:39 +00:00
metagrammar.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
methodobject.h Introduce two new flag bits that can be set in a PyMethodDef method 2002-03-28 05:33:33 +00:00
modsupport.h PyArg_UnpackTuple(): New argument unpacking function suggested by Jim 2001-10-23 21:09:29 +00:00
moduleobject.h SF bug [#460467] file objects should be subclassable. 2001-09-13 05:38:56 +00:00
node.h Use an assert() for the REQ() macro instead of making up our own 2001-10-15 17:23:13 +00:00
object.h Change the type of the tp_free from 'destructor' to 'freefunc'. 2002-04-12 01:57:06 +00:00
objimpl.h First cut at repairing out-of-date comments; make alignment of macro defs 2002-04-12 05:21:34 +00:00
opcode.h Patch #494783: Rename cmp_op enumerators. 2002-01-01 19:59:11 +00:00
osdefs.h OS/2 EMX port changes (Include part of patch #450267): 2002-02-26 11:20:01 +00:00
parsetok.h Disable the parser hacks that enabled the "yield" keyword using a future 2002-03-22 23:53:36 +00:00
patchlevel.h Change the version string from "2.2+" to "2.3a0". disutils peels off 2002-02-02 00:08:15 +00:00
pgenheaders.h Add function attributes that allow GCC to check the arguments of printf-like 2001-10-23 02:21:22 +00:00
py_curses.h Patch #477752: Drop old-style getargs from curses. 2002-01-17 23:08:27 +00:00
pydebug.h SF bug #488514: -Qnew needs work 2001-12-06 06:23:26 +00:00
pyerrors.h mysnprintf.c: Massive rewrite of PyOS_snprintf and PyOS_vsnprintf, to 2001-12-03 00:43:33 +00:00
pyfpe.h
pygetopt.h Move our own getopt() implementation to _PyOS_GetOpt(), and use it 2000-11-03 08:18:37 +00:00
pymactoolbox.h Make the CoreFoundation object _New and _Convert routines available to other modules. Idea by Donovan Preston, implementaion by me. 2001-11-05 14:39:22 +00:00
pymem.h First stab at rationalizing the PyMem_ API. Mixing PyObject_xyz with 2002-04-12 07:22:56 +00:00
pyport.h First stab at rationalizing the PyMem_ API. Mixing PyObject_xyz with 2002-04-12 07:22:56 +00:00
pystate.h Add a low-level API to access interpreters, for David Beazley. 2001-07-19 12:19:27 +00:00
pythonrun.h Removed more hair in support of future-generator stmts. 2002-04-12 01:20:10 +00:00
pythread.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
rangeobject.h Re-add 'advanced' xrange features, adding DeprecationWarnings as discussed 2001-07-09 12:30:54 +00:00
sliceobject.h ANSI-fication and Py_PROTO extermination. 2000-07-09 00:55:06 +00:00
stringobject.h Remove the CACHE_HASH and INTERN_STRINGS preprocessor symbols. 2002-03-29 03:29:08 +00:00
structmember.h Fix SF bug #486144: Uninitialized __slot__ vrbl is None. 2001-12-04 16:23:42 +00:00
structseq.h SF patch #462296: Add attributes to os.stat results; by Nick Mathewson. 2001-10-18 20:34:25 +00:00
symtable.h Remove st_nested_scopes from struct symtable, 2001-08-11 21:51:24 +00:00
sysmodule.h Add function attributes that allow GCC to check the arguments of printf-like 2001-10-23 02:21:22 +00:00
token.h Implement PEP 238 in its (almost) full glory. 2001-08-08 05:00:18 +00:00
traceback.h [Bug #528914] PyTraceBack_Store/Fetch were deleted in 1997, but their 2002-03-19 16:02:35 +00:00
tupleobject.h More on SF bug [#460020] bug or feature: unicode() and subclasses. 2001-09-10 23:37:46 +00:00
ucnhash.h refactored the unicodeobject/ucnhash interface, to hide the 2001-01-19 09:45:02 +00:00
unicodeobject.h SF patch #470578: Fixes to synchronize unicode() and str() 2001-10-19 02:01:31 +00:00
weakrefobject.h Remove bogus declaration. 2001-10-05 22:06:45 +00:00