Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-131466: concurrent.futures.Executor.map: avoid temporarily exceeding buffersize while collecting the next result#131467
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
ebonnal wants to merge 18 commits into python:mainChoose a base branch from ebonnal:feat/executor-map-buffer-after-yield
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.
Uh oh!
There was an error while loading. Please reload this page.
Open
Changes from all commits
Commits
Show all changes
18 commits Select commit Hold shift + click to select a range
233ccc1 `Executor.map`: avoid temporarily exceeding the `buffersize` while co…
ebonnal b864ef9 Merge remote-tracking branch 'cpython/main' into feat/executor-map-bu…
ebonnal 72d7028 avoid keeping a ref to result for test_thread_pool.ThreadPoolExecutor…
ebonnal 2a30697 update comment about not keeping references to popped future/result
ebonnal ab4182b introduce `current_timeout` variable
ebonnal 7a1ae46 comment on the necessity of the result container
ebonnal 268927d avoid container
ebonnal de09aff remove current_timeout usage
ebonnal 1814bfe fix comments format
ebonnal 7206321 rephrase comments
ebonnal 162add1 order imports
ebonnal f2c5fd0 format comments
ebonnal 9474769 remove _result_or_cancel
ebonnal 2a2119e access awaited result via _result attribute
ebonnal 3be6956 break a reference cycle with `fs[-1]._exception`
ebonnal 0d70be9 break other potential reference cycles with fs, not only the one caus…
ebonnal f509097 lighter ref cycle break
ebonnal d50dabd move the ref cycle break into the finally block
ebonnal File 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
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
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.