]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Sort-of backport to 2.1.3 (if we ever release it) of the following.
authorGuido van Rossum <guido@python.org>
Thu, 28 Mar 2002 20:41:02 +0000 (20:41 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 28 Mar 2002 20:41:02 +0000 (20:41 +0000)
commitc44d823daac35b8f1f9a62ae54ae15dc81e03d3c
treef975bf2db847908ecead78651aeed8f4a8ca47b3
parentded18d634f2e1615b746dca2698d6a98ff63045d
Sort-of backport to 2.1.3 (if we ever release it) of the following.
(The fix looks different, but does the same thing to the 2.1 GC code
that Neil's patch does to the 2.2 GC code.)

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/listobject.c
Objects/tupleobject.c