]> granicus.if.org Git - python/commit
This is Neil's fix for SF bug 535905 (Evil Trashcan and GC interaction).
authorGuido van Rossum <guido@python.org>
Thu, 28 Mar 2002 20:34:59 +0000 (20:34 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 28 Mar 2002 20:34:59 +0000 (20:34 +0000)
commitff413af605d7aab610272c5668bc870ebcbf56ef
tree1a79acab5df1da3a36e5b78c093793f192b2c269
parent31f8483eef19ebf40c7831d79cac270e69a96ce0
This is Neil's fix for SF bug 535905 (Evil Trashcan and GC interaction).

The fix makes it possible to call PyObject_GC_UnTrack() more than once
on the same object, and then move the PyObject_GC_UnTrack() call to
*before* the trashcan code is invoked.

BUGFIX CANDIDATE!
Modules/gcmodule.c
Objects/dictobject.c
Objects/frameobject.c
Objects/listobject.c
Objects/tupleobject.c