cpython/Include
Tim Peters 269b2a6797 _Py_PrintReferences(): Changed to print object address at start of each
new line.

New pvt API function _Py_PrintReferenceAddresses():  Prints only the
addresses and refcnts of the live objects.  This is always safe to call,
because it has no dependence on Python's C API.

Py_Finalize():  If envar PYTHONDUMPREFS is set, call (the new)
_Py_PrintReferenceAddresses() right before dumping final pymalloc stats.
We can't print the reprs of the objects here because too much of the
interpreter has been shut down.  You need to correlate the addresses
displayed here with the object reprs printed by the earlier
PYTHONDUMPREFS call to _Py_PrintReferences().
2003-04-17 19:52:29 +00:00
..
abstract.h Fix spelling and grammar. 2003-02-28 05:11:03 +00:00
bitset.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
boolobject.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
bufferobject.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
cellobject.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
ceval.h As far as I can tell PyEval_GetOwner was removed in 1997 (when it was 2003-02-20 17:59:17 +00:00
classobject.h Typo repair. 2003-04-08 18:47:21 +00:00
cobject.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
codecs.h PEP 293 implemention (from SF patch http://www.python.org/sf/432401) 2002-09-02 13:14:32 +00:00
compile.h Small function call optimization and special build option for call stats. 2003-02-05 23:13:00 +00:00
complexobject.h SF # 607253, header file problems by Ralf W. Grosse-Kunstleve 2002-10-04 12:43:02 +00:00
cStringIO.h SF bug #670229: doc improvement for cStringIO.h 2003-01-19 00:45:01 +00:00
datetime.h Got rid of the internal datetimetz type. 2003-01-11 03:39:11 +00:00
descrobject.h SF 548651: Fix the METH_CLASS implementation. 2002-12-09 22:56:13 +00:00
dictobject.h Constify char* API. Fixes #651363. 2.2 candidate. 2002-12-11 13:21:12 +00:00
enumobject.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
errcode.h provide less mysterious error messages when seeing end-of-line in 2002-08-15 01:20:16 +00:00
eval.h - New function sys.call_tracing() allows pdb to debug code 2003-04-09 19:06:21 +00:00
fileobject.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
floatobject.h New private API functions _PyFloat_{Pack,Unpack}(4,8}. This is a 2003-03-20 20:53:32 +00:00
frameobject.h A slight change to SET_LINENO-less tracing. 2002-09-11 15:36:32 +00:00
funcobject.h Provide __module__ attributes for functions defined in C and Python. 2003-01-31 18:33:18 +00:00
graminit.h Patch #534304: Implement phase 1 of PEP 263. 2002-08-04 17:29:52 +00:00
grammar.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
import.h Excise DL_IMPORT/EXPORT from object.h, and related files. This patch 2002-07-29 13:42:14 +00:00
intobject.h SF # 595026: support for masks in getargs.c. 2003-04-17 18:55: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 Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
longintrepr.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
longobject.h SF # 595026: support for masks in getargs.c. 2003-04-17 18:55:45 +00:00
marshal.h Fix SF bug #697256, PyMarshal_WriteShortToFile() documented, but not implemented 2003-03-06 22:04:24 +00:00
metagrammar.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
methodobject.h Provide __module__ attributes for functions defined in C and Python. 2003-01-31 18:33:18 +00:00
modsupport.h SF patch 576101, by Oren Tirosh: alternative implementation of 2002-08-19 21:43:18 +00:00
moduleobject.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
node.h Back out the previous change. It doesn't save any space on 64-bit 2002-09-17 03:27:02 +00:00
object.h _Py_PrintReferences(): Changed to print object address at start of each 2003-04-17 19:52:29 +00:00
objimpl.h - New C API PyGC_Collect(), same as calling gc.collect(). 2003-04-17 17:29:22 +00:00
opcode.h Further SET_LINENO reomval fixes. See comments in patch #587933. 2002-08-30 13:09: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 Changes from Jonathan Riehl to allow his pgen extension (PEP 269) to 2003-04-17 14:55:42 +00:00
patchlevel.h Update PY_VERSION to indicate that we're beyond 2.3a2 now. 2003-02-20 18:46:54 +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 Moved the Apple workaround for the guard define for wchar_t out of 2003-02-28 12:51:18 +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 Constify filenames and scripts. Fixes #651362. 2002-12-11 14:04:59 +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 It turns out that some calls return AEDesc records that are "borrowed", 2003-01-17 23:11:17 +00:00
pymem.h Remove MALLOC_ZERO_RETURNS_NULL. 2002-11-23 09:13:40 +00:00
pyport.h Rename LONG_LONG to PY_LONG_LONG. Fixes #710285. 2003-03-29 10:06:18 +00:00
pystate.h Fixed SF bug #663074. The codec system was using global static 2003-03-19 00:35:36 +00:00
Python.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
pythonrun.h - Finally fixed the bug in compile() and exec where a string ending 2003-02-13 22:07:59 +00:00
pythread.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
rangeobject.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
sliceobject.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
stringobject.h Use Py_GCC_ATTRIBUTE instead of __attribute__. Compilers other than GCC 2002-09-15 14:09:54 +00:00
structmember.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +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 Constify filenames and scripts. Fixes #651362. 2002-12-11 14:04:59 +00:00
sysmodule.h Use Py_GCC_ATTRIBUTE instead of __attribute__. Compilers other than GCC 2002-09-15 14:09:54 +00:00
token.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
traceback.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
tupleobject.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00
ucnhash.h refactored the unicodeobject/ucnhash interface, to hide the 2001-01-19 09:45:02 +00:00
unicodeobject.h Add name mangling for new PyUnicode_FromOrdinal() and fix declaration 2002-08-12 08:19:10 +00:00
weakrefobject.h Excise DL_EXPORT from Include. 2002-08-12 07:21:58 +00:00