summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-04-13 17:15:47 +0000
committerFred Drake <fdrake@acm.org>2001-04-13 17:15:47 +0000
commit2a5a5ca012fed6f1224ad225dd7e82e8b6448cd0 (patch)
treeddf41c0fe2e07ea32f5f5ea7d38e31130b368e49 /Python/import.c
parenteb0d992520c99a1756be36199e976af8d66fb491 (diff)
downloadcpython-git-2a5a5ca012fed6f1224ad225dd7e82e8b6448cd0.tar.gz
cleanup_helper(): Make sure we invalidate all reference objects
before calling any callbacks. This is important since the callback objects only look at themselves to determine that they are invalide. This change avoids a segfault when callbacks use a different reference to an object in the process of being deallocated. This fixes SF bug #415660.
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions