]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport to 2.2.x:
authorGuido van Rossum <guido@python.org>
Tue, 4 Jun 2002 21:19:55 +0000 (21:19 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 4 Jun 2002 21:19:55 +0000 (21:19 +0000)
commit761037af5cec71d68d43613cb1a963dd58a342d2
tree3dd252b90807d1c2921656a18a30585d04fbf580
parent84183683e5883a73c13e458d178f8ff235808651
Backport to 2.2.x:

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 set mp->flags = READONLY for the __weakref__ pseudo-slot.

[Note that I am *not* backporting the part of that patch that
tightened the __slot__ rules.]
Lib/test/test_descr.py
Misc/NEWS
Objects/typeobject.c