-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
gh-121621: Move asyncio running loop to thread state #121695
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
Merged
Fidget-Spinner
merged 21 commits into
python:main
from
Fidget-Spinner:asyncio_rest_threadsafe
Jul 16, 2024
Merged
Changes from 17 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
4822190
Use PyMutex for writes to asyncio state
Fidget-Spinner 143747b
Address review
Fidget-Spinner 580304c
fix default build
Fidget-Spinner 1faed12
Fix typo
Fidget-Spinner ba3d771
Address review
Fidget-Spinner ec2c175
fixup whitespace
Fidget-Spinner e1b730a
minor nit
Fidget-Spinner f9fb6e1
Move asyncio freelist to per-thread
Fidget-Spinner c9ac6bb
Move running loop to thread state
Fidget-Spinner b450b96
Merge remote-tracking branch 'upstream/main' into asyncio_rest_thread…
Fidget-Spinner 3d78e8a
remove freelist changes
Fidget-Spinner 4f03f71
Use just a single threadstate field
Fidget-Spinner a1ce760
fix whitespace
Fidget-Spinner f3f1c57
fix stray thing
Fidget-Spinner 4e3c64a
Update comment
Fidget-Spinner 19953a8
Clean up code even more
Fidget-Spinner ba039ee
make regen-all
Fidget-Spinner 3429231
Partially address review
Fidget-Spinner c6df89f
Address review
Fidget-Spinner 91438a5
Change Py_None to NULL
Fidget-Spinner 46432e8
add back missing comment
Fidget-Spinner 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
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.
2D38
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.