Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-38858: Factorize Py_EndInterpreter() code #17273

Merged
merged 1 commit into from Nov 20, 2019
Merged

bpo-38858: Factorize Py_EndInterpreter() code #17273

merged 1 commit into from Nov 20, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Nov 20, 2019

Factorize code in common between Py_FinalizeEx() and
Py_EndInterpreter().

Py_EndInterpreter() now also calls _PyGC_Fini() and _PyWarnings_Fini().

https://bugs.python.org/issue38858

* 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.
@vstinner vstinner merged commit 7eee5be into python:master Nov 20, 2019
@vstinner vstinner deleted the finalize_interp branch November 20, 2019 09:38
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
* 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.
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants