summaryrefslogtreecommitdiffstats
path: root/Python/getcompiler.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-02-04 23:13:43 (GMT)
committerFred Drake <fdrake@acm.org>2004-02-04 23:13:43 (GMT)
commit74788b6af49011be30c95ad2e7ae98ca95138bde (patch)
tree6dd4d2f0d6422321e517e6c6e49124ac19178540 /Python/getcompiler.c
parentbf96e061a8ae7f755638499b87ff72c4943cdbd8 (diff)
downloadcpython-74788b6af49011be30c95ad2e7ae98ca95138bde.zip
cpython-74788b6af49011be30c95ad2e7ae98ca95138bde.tar.gz
cpython-74788b6af49011be30c95ad2e7ae98ca95138bde.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 'Python/getcompiler.c')
0 files changed, 0 insertions, 0 deletions