Staging
v0.8.1
https://github.com/python/cpython
Revision eba5bf2f5672bf4861c626937597b85ac0c242b9 authored by Victor Stinner on 30 October 2020, 21:51:02 UTC, committed by GitHub on 30 October 2020, 21:51:02 UTC
The last GC collection is now done before clearing builtins and sys
dictionaries. Add also assertions to ensure that gc.collect() is no
longer called after _PyGC_Fini().

Pass also the tstate to PyInterpreterState_Clear() to pass the
correct tstate to _PyGC_CollectNoFail() and _PyGC_Fini().
1 parent 4fe7209
History
Tip revision: eba5bf2f5672bf4861c626937597b85ac0c242b9 authored by Victor Stinner on 30 October 2020, 21:51:02 UTC
bpo-42208: Call GC collect earlier in PyInterpreterState_Clear() (GH-23044)
Tip revision: eba5bf2
File Mode Size
windows-release
ci.yml -rw-r--r-- 2.6 KB
docs-steps.yml -rw-r--r-- 1.3 KB
macos-steps.yml -rw-r--r-- 768 bytes
posix-deps-apt.sh -rwxr-xr-x 590 bytes
posix-steps.yml -rw-r--r-- 2.6 KB
pr.yml -rw-r--r-- 2.6 KB
prebuild-checks.yml -rw-r--r-- 1.2 KB
windows-layout-steps.yml -rw-r--r-- 1.5 KB
windows-release.yml -rw-r--r-- 3.9 KB
windows-steps.yml -rw-r--r-- 1.5 KB

back to top