-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
gh-80406: Finalise subinterpreters in Py_FinalizeEx() #17575
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
LewisGaul
wants to merge
21
commits into
python:main
Choose a base branch
from
LewisGaul:finalise-subinterps
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
23af5f5
Add test suggested by ncoghlan
LewisGaul 433663c
Finalise sub-interpreters in Py_FinalizeEx()
LewisGaul 48e1cfc
Improve test name
LewisGaul 0400634
Switch back to main threadstate in test_audit_subinterpreter before c…
LewisGaul b79649c
📜🤖 Added by blurb_it.
blurb-it[bot] 8b1e7d9
Markups including: switch from 'finalizing' flag to 'allow_new', add …
LewisGaul fd6073a
Merge branch 'finalise-subinterps' of github.com:LewisGaul/cpython in…
LewisGaul 4bbd58f
Merge branch 'master' into finalise-subinterps
LewisGaul 1095e66
Use '_' for unused variable in test_embed.py
LewisGaul 675285d
Fix struct position of 'allow_new' flag
LewisGaul 8e21788
Add handling for unsupported case of calling Py_Finalize() from a sub…
LewisGaul 606c068
Emit resource warning when calling Py_Finalize() with unfinalized sub…
LewisGaul e0789b0
Update Py_FinalizeEx() docs
LewisGaul dda99ce
Update test for resource warning when implicitly finalizing subinterp…
LewisGaul 847e8d2
Tidy up test_finalize_subinterps() testcase
LewisGaul a2fb0fc
Add testcase for calling Py_Finalize() from a subinterpreter
LewisGaul d234528
Tweak subinterpreters still running ResourceWarning handling
LewisGaul 46a8619
Make calling PyFinalizeEx() from a subinterpreter a Py_FatalError
LewisGaul c89c0e5
Acquire interpreters mutex before setting allow_new=0 in PyFinalizeEx()
LewisGaul c285f52
Merge remote-tracking branch 'upstream/master' into finalise-subinterps
LewisGaul 95cbfd4
Add back in the 'interp' variable to PyFinalizeEx() to fix the build
LewisGaul File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update test for resource warning when implicitly finalizing subinterp…
…reters
- Loading branch information
commit dda99ced4ee2d10d38ac1df92049bf17034fdd9a
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.