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
README -rw-r--r-- 67 bytes
_freeze_importlib.c -rw-r--r-- 4.7 KB
_testembed.c -rw-r--r-- 44.3 KB
python.c -rw-r--r-- 266 bytes

README

back to top