-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
gh-77714: Provide an async iterator version of as_completed #22491
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
serhiy-storchaka
merged 20 commits into
python:main
from
JustinTArthur:async-for-as-completed
Apr 1, 2024
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
5b14951
bpo-33533: Provide an async iterator version of as_completed
JustinTArthur f0f22f0
New docstring for revised async iteration pattern. Doc polish.
JustinTArthur 27d546a
Remove internal callbacks on as_completed iterator deletion.
JustinTArthur c049b3a
Update docstring of concurrent test for revised async iterator shape
JustinTArthur 8912149
Clarify TimeoutError source in as_completed docstring.
JustinTArthur ffde36a
Merge branch 'master' into async-for-as-completed
JustinTArthur 397c3b3
Merge branch 'main' into async-for-as-completed
serhiy-storchaka f759fb4
Fix tests.
serhiy-storchaka c74a169
Update docs.
serhiy-storchaka a2b3b77
Avoid circular import problem.
serhiy-storchaka 0915257
Small refactoring.
serhiy-storchaka 9e6658a
Remove __del__ method which does not have effect.
serhiy-storchaka 32ac402
Fix What's New/
serhiy-storchaka a6cdcf7
Doc and docstring changes following @gvanrossum review.
JustinTArthur 40c13ad
Consistent quotation marks in examples.
JustinTArthur 0e56f0b
Apply suggestions from code review.
JustinTArthur c4d84ab
Expand as_completed examples, clean _AsCompleted docstring salad.
JustinTArthur 8863a55
Merge branch 'main' into async-for-as-completed
JustinTArthur 378b69c
Import queues module at module-level of asyncio.tasks.
JustinTArthur 0ba0b29
Merge branch 'main' into async-for-as-completed
JustinTArthur 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
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.