cpython/Objects
Tim Peters 803526b9e2 Trashcan cleanup: Now that cyclic gc is always there, the trashcan
mechanism is no longer evil:  it no longer plays dangerous games with
the type pointer or refcounts, and objects in extension modules can play
along too without needing to edit the core first.

Rewrote all the comments to explain this, and (I hope) give clear
guidance to extension authors who do want to play along.  Documented
all the functions.  Added more asserts (it may no longer be evil, but
it's still dangerous <0.9 wink>).  Rearranged the generated code to
make it clearer, and to tolerate either the presence or absence of a
semicolon after the macros.  Rewrote _PyTrash_destroy_chain() to call
tp_dealloc directly; it was doing a Py_DECREF again, and that has all
sorts of obscure distorting effects in non-release builds (Py_DECREF
was already called on the object!).  Removed Christian's little "embedded
change log" comments -- that's what checkin messages are for, and since
it was impossible to correlate the comments with the code that changed,
I found them merely distracting.
2002-07-07 05:13:56 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
abstract.c Close SF bug 563740. complex() now finds __complex__() in new style classes. 2002-06-06 15:45:38 +00:00
boolobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
bufferobject.c Fix SF bug 546434 -- buffer slice type inconsistent. 2002-06-25 00:25:30 +00:00
cellobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
classobject.c Removed WITH_CYCLE_GC #ifdef-ery. Holes: 2002-07-07 03:59:34 +00:00
cobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
complexobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
descrobject.c SF patch 568629 by Oren Tirosh: types made callable. 2002-06-14 20:41:17 +00:00
dictobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
enumobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
fileobject.c Patch #569753: Remove support for WIN16. 2002-06-30 15:26:10 +00:00
floatobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
frameobject.c Fix SF bug #505315: Make free and cell vars show up consistently in locals(). 2002-04-20 04:46:55 +00:00
funcobject.c SF patch 568629 by Oren Tirosh: types made callable. 2002-06-14 20:41:17 +00:00
intobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
iterobject.c SF 560736. Optimize list iteration by filling the tp_iter slot. 2002-05-31 21:40:38 +00:00
listobject.c Fix the bug described in 2002-06-19 15:44:15 +00:00
longobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
methodobject.c Introduce two new flag bits that can be set in a PyMethodDef method 2002-03-28 05:33:33 +00:00
moduleobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
object.c Trashcan cleanup: Now that cyclic gc is always there, the trashcan 2002-07-07 05:13:56 +00:00
obmalloc.c PyObject_Realloc(): If a small block is shrinking, bite the expense of 2002-05-02 20:19:34 +00:00
rangeobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
sliceobject.c SF patch 568629 by Oren Tirosh: types made callable. 2002-06-14 20:41:17 +00:00
stringobject.c SF bug # 493951 string.{starts,ends}with vs slices 2002-06-14 00:50:42 +00:00
structseq.c Remove PyMalloc_New and PyMalloc_Del. 2002-04-12 03:05:37 +00:00
tupleobject.c Fix for SF bug 571885 2002-06-20 23:13:17 +00:00
typeobject.c Fix SF bug 572567: Memory leak in object comparison. 2002-06-24 13:08:16 +00:00
unicodectype.c removed "register const" from scalar arguments to the unicode 2001-06-27 22:08:26 +00:00
unicodeobject.c Patch #569753: Remove support for WIN16. 2002-06-30 15:26:10 +00:00
unicodetype_db.h forgot to check in the new makeunicodedata.py script 2001-01-21 17:01:31 +00:00
weakrefobject.c Remove weakref free list. This has the side effect of fixing a memory 2002-03-27 15:18:21 +00:00
xxobject.c Use function instead of macro spellings for PyObject_memorystuff. 2002-05-23 15:51:20 +00:00