summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-02-04 23:14:14 (GMT)
committerFred Drake <fdrake@acm.org>2004-02-04 23:14:14 (GMT)
commitbc875f5a36b744c1a7263c35befaf31208a416b1 (patch)
tree9b362880eeb66497bd813f43f2806eef2d2bb7f0 /Modules
parent21ae4f983e3625cc16807c68952c6cd9fe44bb8b (diff)
downloadcpython-bc875f5a36b744c1a7263c35befaf31208a416b1.zip
cpython-bc875f5a36b744c1a7263c35befaf31208a416b1.tar.gz
cpython-bc875f5a36b744c1a7263c35befaf31208a416b1.tar.bz2
Allocating a new weakref object can cause existing weakref objects for
the same object to be collected by the cyclic GC support if they are only referenced by a cycle. If the weakref being collected was one of the weakrefs without callbacks, some local variables for the constructor became invalid and have to be re-computed. The test caused a segfault under a debug build without the fix applied.
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions