]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36854: Move _PyRuntimeState.gc to PyInterpreterState (GH-17287)
authorVictor Stinner <vstinner@python.org>
Wed, 20 Nov 2019 11:25:50 +0000 (12:25 +0100)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2019 11:25:50 +0000 (12:25 +0100)
commit7247407c35330f3f6292f1d40606b7ba6afd5700
treefa9307b2cdbf41bf30c90daf12c76dd439949cfd
parent488d02a24142948bfb1fafd19fa48e61fcbbabc5
bpo-36854: Move _PyRuntimeState.gc to PyInterpreterState (GH-17287)

* Rename _PyGC_InitializeRuntime() to _PyGC_InitState()
* finalize_interp_clear() now also calls _PyGC_Fini() in
  subinterpreters (clear the GC state).
Include/internal/pycore_object.h
Include/internal/pycore_pymem.h
Include/internal/pycore_pystate.h
Misc/NEWS.d/next/Core and Builtins/2019-11-20-12-01-37.bpo-36854.Zga_md.rst [new file with mode: 0644]
Modules/gcmodule.c
Objects/object.c
Python/pylifecycle.c
Python/pystate.c