cpython/Objects
Guido van Rossum 9923ffe2c0 Address SF bug 519621: slots weren't traversed by GC.
While I was at it, I added a tp_clear handler and changed the
tp_dealloc handler to use the clear_slots helper for the tp_clear
handler.

Also tightened the rules for slot names: they must now be proper
identifiers (ignoring the dirty little fact that <ctype.h> is locale
sensitive).

Also set mp->flags = READONLY for the __weakref__ pseudo-slot.

Most of this is a 2.2 bugfix candidate; I'll apply it there myself.
2002-06-04 19:52:53 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
abstract.c abstract_get_bases(): Clarify exactly what the return values and 2002-04-23 22:45:44 +00:00
boolobject.c Clean up the layout of the bool_as_number struct initializer. 2002-04-25 20:01:10 +00:00
bufferobject.c Remove the CACHE_HASH and INTERN_STRINGS preprocessor symbols. 2002-03-29 03:29:08 +00:00
cellobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
classobject.c Be smarter about clearing the weakref lists for instances, instance methods, 2001-10-26 17:56:51 +00:00
cobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
complexobject.c Deprecate % as well. The message for deprecation of //, % and divmod 2002-04-15 12:39:12 +00:00
descrobject.c Fold long lines. (Walter, please take note! :-) 2002-04-13 14:06:36 +00:00
dictobject.c Add Raymond Hettinger's d.pop(). See SF patch 539949. 2002-04-12 15:11:59 +00:00
enumobject.c - New builtin function enumerate(x), from PEP 279. Example: 2002-04-26 19:40:56 +00:00
fileobject.c file_doc: Add some description of the U mode character, but only when 2002-05-22 20:37:53 +00:00
floatobject.c clarify message when raising TypeError to indicate that float() accepts 2002-05-02 13:03:22 +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 PyObject_Del can now be used as a function designator. 2002-04-12 02:44:10 +00:00
intobject.c Just added comments, and cleared some XXX questions, related to int 2002-04-28 16:57:34 +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 A bogus assert in the new listiter code prevented starting Python in a 2002-06-01 05:22:55 +00:00
longobject.c Clarify return value of PyLong_AsLongLong(). 2002-04-23 20:01:20 +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 Add a docstring to the module type. 2002-06-04 06:02:35 +00:00
object.c Fix typo 2002-05-31 20:23:33 +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 Inverted test for small speedup 2002-06-04 18:45:50 +00:00
sliceobject.c Remove PyMalloc_New and PyMalloc_Del. 2002-04-12 03:05:37 +00:00
stringobject.c Change name from string to basestring 2002-05-31 19:58:02 +00:00
structseq.c Remove PyMalloc_New and PyMalloc_Del. 2002-04-12 03:05:37 +00:00
tupleobject.c PyObject_GC_Del can now be used as a function designator. 2002-04-12 03:05:52 +00:00
typeobject.c Address SF bug 519621: slots weren't traversed by GC. 2002-06-04 19:52:53 +00:00
unicodectype.c removed "register const" from scalar arguments to the unicode 2001-06-27 22:08:26 +00:00
unicodeobject.c Fix a possible segfault. Found be Neal Norvitz. 2002-05-29 13:46:29 +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