summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-05-04 09:59:01 (GMT)
committerGitHub <noreply@github.com>2022-05-04 09:59:01 (GMT)
commit14243369b5f80613628a565c224bba7fb3fcacd8 (patch)
tree119324ec05e3abf2f6872c5a12d0514411d24a9d /Python/ceval.c
parentd20bb33f782f5677256d7e1f2462b78113692969 (diff)
downloadcpython-14243369b5f80613628a565c224bba7fb3fcacd8.zip
cpython-14243369b5f80613628a565c224bba7fb3fcacd8.tar.gz
cpython-14243369b5f80613628a565c224bba7fb3fcacd8.tar.bz2
gh-92036: Fix gc_fini_untrack() (#92037)
Fix a crash in subinterpreters related to the garbage collector. When a subinterpreter is deleted, untrack all objects tracked by its GC. To prevent a crash in deallocator functions expecting objects to be tracked by the GC, leak a strong reference to these objects on purpose, so they are never deleted and their deallocator functions are not called.
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions