diff options
author | Fred Drake <fdrake@acm.org> | 2004-02-04 23:13:43 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2004-02-04 23:13:43 (GMT) |
commit | 74788b6af49011be30c95ad2e7ae98ca95138bde (patch) | |
tree | 6dd4d2f0d6422321e517e6c6e49124ac19178540 /Python/exceptions.c | |
parent | bf96e061a8ae7f755638499b87ff72c4943cdbd8 (diff) | |
download | cpython-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/exceptions.c')
0 files changed, 0 insertions, 0 deletions