]> granicus.if.org Git - python/commit
bpo-36710: Add runtime variable to Py_FinalizeEx() (GH-12937)
authorVictor Stinner <vstinner@redhat.com>
Wed, 24 Apr 2019 15:24:01 +0000 (17:24 +0200)
committerGitHub <noreply@github.com>
Wed, 24 Apr 2019 15:24:01 +0000 (17:24 +0200)
commit8e91c246e468515b877690e090c73f496552541d
treed538530b4ac5ccf9aa6dc1e229410b8848eeb4f3
parent70bf713617e15fad390ed953e48b3c65d9bc90ec
bpo-36710: Add runtime variable to Py_FinalizeEx() (GH-12937)

* Add a 'runtime' variable to Py_FinalizeEx() rather than working
  directly on the global variable _PyRuntime
* Add a 'runtime' parameter to _PyGC_Fini(), _PyGILState_Fini()
  and call_ll_exitfuncs()
Include/internal/pycore_pylifecycle.h
Modules/gcmodule.c
Python/pylifecycle.c
Python/pystate.c