]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38858: Factorize Py_EndInterpreter() code (GH-17273)
authorVictor Stinner <vstinner@python.org>
Wed, 20 Nov 2019 09:38:34 +0000 (10:38 +0100)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2019 09:38:34 +0000 (10:38 +0100)
commit7eee5beaf87be898a679278c480e8dd0df76d351
tree166a22474d2ca9a3eab2cddf5de4fd35715e888f
parentb8462477bfd01ff21461065d5063e6b0238ca809
bpo-38858: Factorize Py_EndInterpreter() code (GH-17273)

* Factorize code in common between Py_FinalizeEx() and
  Py_EndInterpreter().
* Py_EndInterpreter() now also calls _PyWarnings_Fini().
* Call _PyExc_Fini() and _PyGC_Fini() later in the finalization.
Include/internal/pycore_pylifecycle.h
Modules/gcmodule.c
Python/pylifecycle.c
Python/pystate.c