-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-97696: asyncio eager tasks factory #102853
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
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
a127f98
Eager task factory implementation
itamaro 45316d8
Eager task factory tests
itamaro ac9b7b0
Add NEWS and docs for eager task factory
itamaro 402c317
elaborate explanation in docs and add a whatsnew entry
itamaro 563ffd4
fix docs
itamaro 6f2a47a
Overhaul eager task factory design
itamaro e7743f6
Fix task-counting tests for new impl
itamaro 10a03a0
Fix test_task_exc_handler_correct_context
itamaro 5e8ae51
Merge branch 'main' into eager-tasks-factory
itamaro b4fea1c
Merge branch 'main' into eager-tasks-factory
itamaro 441fd92
add jbower credit
itamaro 4c46a72
cleanup recursive_taskgroups test case
itamaro 8686a3d
Merge branch 'main' into eager-tasks-factory
itamaro 14b6f58
Update asyncio documentation with latest state of the PR
itamaro 0f9185c
don't add coro to the task repr if coro is None
itamaro 679534a
also update the NEWS entry
itamaro 70bb3d4
add error check when using _PyDict_GetItem_KnownHash in swap_current_…
itamaro 7edcf3f
focus the eager task factory test suite on testing eager execution se…
itamaro 45e5c8c
ensure task_eager_start is not called with a NULL task
itamaro fbf8d91
Refactor eager task tests to clarify the "loop is running" constraint…
itamaro 873a645
Apply documentation suggestions and feedback
itamaro 9c2bc9a
Merge remote-tracking branch 'upstream/main' into eager-tasks-factory
itamaro 9522c54
fix docs (rst is hard)
itamaro 2acdc51
Merge branch 'main' into eager-tasks-factory
itamaro fef8140
Extend eager task factory tests
jbower-fb 1eb540c
a little cleanup of newly added tests
itamaro 3cef856
add assertion to current_task test, comparing the task before and aft…
itamaro 8877716
add a second step to contextvars test
itamaro 57ccce3
Merge branch 'main' into eager-tasks-factory
itamaro 57b197f
Merge branch 'main' into eager-tasks-factory
willingc c545645
Merge branch 'main' into eager-tasks-factory
itamaro 0c09767
missing word in NEWS entry
itamaro a255ec8
refactor all_tasks() handling of eager_tasks
itamaro 05870d5
fix docs (PR review)
itamaro a2587a1
move cv.set inside the main task (otherwise it refleaks)
itamaro 0101742
Merge branch 'main' into eager-tasks-factory
itamaro b83ed94
fix grammar in all_tasks comments
itamaro b17f605
Merge branch 'main' into eager-tasks-factory
itamaro 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
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.
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.