Staging
v0.5.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
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.9 KB
.gitignore -rw-r--r-- 1.8 KB
.travis.yml -rw-r--r-- 8.4 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 13.6 KB
Makefile.pre.in -rw-r--r-- 67.8 KB
README.rst -rw-r--r-- 10.0 KB
aclocal.m4 -rw-r--r-- 15.2 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 501.3 KB
configure.ac -rw-r--r-- 169.3 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 44.6 KB
setup.py -rw-r--r-- 109.0 KB

README.rst

back to top