cpython/Include
Tim Peters 3459251d5a object.h special-build macro minefield: renamed all the new lexical
helper macros to something saner, and used them appropriately in other
files too, to reduce #ifdef blocks.

classobject.c, instance_dealloc():  One of my worst Python Memories is
trying to fix this routine a few years ago when COUNT_ALLOCS was defined
but Py_TRACE_REFS wasn't.  The special-build code here is way too
complicated.  Now it's much simpler.  Difference:  in a Py_TRACE_REFS
build, the instance is no longer in the doubly-linked list of live
objects while its __del__ method is executing, and that may be visible
via sys.getobjects() called from a __del__ method.  Tough -- the object
is presumed dead while its __del__ is executing anyway, and not calling
_Py_NewReference() at the start allows enormous code simplification.

typeobject.c, call_finalizer():  The special-build instance_dealloc()
pain apparently spread to here too via cut-'n-paste, and this is much
simpler now too.  In addition, I didn't understand why this routine
was calling _PyObject_GC_TRACK() after a resurrection, since there's no
plausible way _PyObject_GC_UNTRACK() could have been called on the
object by this point.  I suspect it was left over from pasting the
instance_delloc() code.  Instead asserted that the object is still
tracked.  Caution:  I suspect we don't have a test that actually
exercises the subtype_dealloc() __del__-resurrected-me code.
2002-07-11 06:23:50 +00:00
..
Python.h Removed WITH_CYCLE_GC #ifdef-ery. Holes: 2002-07-07 03:59:34 +00:00
abstract.h Patch #552433: Special-case tuples. Avoid sub-type checking for lists. 2002-05-08 08:44:21 +00:00
bitset.h
boolobject.h Patch #551008: DL_IMPORT PyBool_FromLong. 2002-05-02 20:23:27 +00:00
bufferobject.h
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
classobject.h PyMethodObject(): Update the comment about im_class based upon a 2001-12-07 21:54:33 +00:00
cobject.h
codecs.h
compile.h Removed more hair in support of future-generator stmts. 2002-04-12 01:20:10 +00:00
complexobject.h
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
enumobject.h - New builtin function enumerate(x), from PEP 279. Example: 2002-04-26 19:40:56 +00:00
errcode.h
eval.h
fileobject.h Add missing \ to macro definition only used when universal newlines 2002-05-24 15:24:38 +00:00
floatobject.h
frameobject.h
funcobject.h
graminit.h Disambiguate the grammar for backtick. 2002-05-24 15:47:06 +00:00
grammar.h
import.h
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
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
marshal.h
metagrammar.h
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
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 object.h special-build macro minefield: renamed all the new lexical 2002-07-11 06:23:50 +00:00
objimpl.h Removed WITH_CYCLE_GC #ifdef-ery. Holes: 2002-07-07 03:59:34 +00:00
opcode.h The opcode FOR_LOOP no longer exists. 2002-06-13 17:59:51 +00:00
osdefs.h OS/2 EMX port changes (Include part of patch #450267): 2002-02-26 11:20:01 +00:00
parsetok.h Fix SF Bug 564931: compile() traceback must include filename. 2002-07-09 09:23:27 +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 Moving pymalloc along. 2002-04-22 02:33:27 +00:00
py_curses.h Patch #477752: Drop old-style getargs from curses. 2002-01-17 23:08:27 +00:00
pydebug.h The Py_REF_DEBUG/COUNT_ALLOCS/Py_TRACE_REFS macro minefield: added 2002-07-09 02:57:01 +00:00
pyerrors.h As discussed on python-dev, add a mechanism to indicate features 2002-05-29 15:54:55 +00:00
pyfpe.h
pygetopt.h
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 Moving pymalloc along. 2002-04-28 04:11:46 +00:00
pyport.h Stop trying to cater to platforms with a broken HUGE_VAL definition. It 2002-07-03 03:31:20 +00:00
pystate.h
pythonrun.h Fix SF Bug 564931: compile() traceback must include filename. 2002-07-09 09:23:27 +00:00
pythread.h Remove the unused & broken PyThread_*_sema() functions and related constants. 2002-01-19 22:02:55 +00:00
rangeobject.h
sliceobject.h This is my nearly two year old patch 2002-06-11 10:55:12 +00:00
stringobject.h - A new type object, 'string', is added. This is a common base type 2002-05-24 19:01:59 +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
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
traceback.h [Bug #528914] PyTraceBack_Store/Fetch were deleted in 1997, but their 2002-03-19 16:02:35 +00:00
tupleobject.h
ucnhash.h
unicodeobject.h Fix for bug [ 561796 ] string.find causes lazy error 2002-05-29 11:33:13 +00:00
weakrefobject.h Remove bogus declaration. 2001-10-05 22:06:45 +00:00