Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Implement PEP 788#133110
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Draft
ZeroIntensity wants to merge30 commits intopython:mainChoose a base branch fromZeroIntensity:pep-788-impl
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.
+452 −6
Draft
Implement PEP 788#133110
Changes from1 commit
Commits
Show all changes
30 commits Select commitHold shift + click to select a range
1828b9a
Implement interpreter state reference counting.
ZeroIntensityd0895f9
Add a test for interpreter reference counts.
ZeroIntensity5c3ee8d
Add thread state daemon-ness that doesn't work yet.
ZeroIntensity7b9ac59
Add untested implementation of non-daemon native threads.
ZeroIntensity0868c15
Add a test for PyThreadState_SetDaemon().
ZeroIntensitye9ea644
Add untested implementation of Ensure()/Release() that probably doesn…
ZeroIntensity0ebdca4
Change some comments.
ZeroIntensity40989de
Add a test that I'm sure doesn't work.
ZeroIntensityd501f35
Use the interpreter's reference count and native thread countdown as …
ZeroIntensityc5ec89c
Fix the countdown decrement.
ZeroIntensity4e1f599
Remove unused variable.
ZeroIntensity3127a3f
Test for PyGILState_Ensure()
ZeroIntensity82b5b9f
Fix the test for the new reference counting.
ZeroIntensityfda9886
Add PyInterpreterState_Lookup()
ZeroIntensityf7723c0
Fix a few bugs and add a test.
ZeroIntensity62e9549
Add a test for PyThreadState_Ensure() across interpreters.
ZeroIntensitybc60630
Remove an artifact from old approach.
ZeroIntensity9d8d526
Fix test from earlier semantics.
ZeroIntensity54b0ce0
Remove 'daemonness' as a property of a thread.
ZeroIntensity5955de6
Add strong interpreter reference functions.
ZeroIntensity92cf906
Implement weak references.
ZeroIntensityb0d0673
Fix some thread safety issues regarding interpreter deletion.
ZeroIntensity0a15beb
Merge from main branch.
ZeroIntensity16d79de
Implement new version of PyThreadState_Ensure() and PyThreadState_Rel…
ZeroIntensityc2bffcd
Use the new APIs in the tests.
ZeroIntensity911c6b5
Fix _testcapi.
ZeroIntensityb84fa90
Fix the ensure counter.
ZeroIntensity9ccf6bd
Add the test to test_embed.
ZeroIntensity481caf5
Allow the wait to be interrupted by CTRL+C.
ZeroIntensity71e1aec
Print the error before bailing out.
ZeroIntensityFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Fix the test for the new reference counting.
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit82b5b9f4d937bb080eb0deb68fc4983a66e755cf
There are no files selected for viewing
7 changes: 4 additions & 3 deletionsModules/_testcapimodule.c
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.