8000 gh-120838: Disallow Py_Finalize() if Py_RunMain() is Running by ericsnowcurrently · Pull Request #120841 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-120838: Disallow Py_Finalize() if Py_RunMain() is Running #120841

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a NEWS entry.
  • Loading branch information
ericsnowcurrently committed Jun 25, 2024
commit d5dc13ac900504fee3d3926584fd7d038a2a7819
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
:c:func:`PyFinalize` and :c:func:`PyFinalizeEx` now explicitly fail if you
try to call them while :c:func:`Py_RunMain` is running.
Loading
0