-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
gh-74028: concurrent.futures.Executor.map
: introduce buffersize
param for lazier behavior
#125663
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 1 commit
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
45c3ec5
bpo-29842: concurrent.futures.Executor.map: add buffersize param for …
ebonnal bfb2c5c
test_map_buffersize: 1s sleep
ebonnal 8539663
mention chunksize in ProcessPoolExecutor's buffersize docstring
ebonnal 022b8c6
merge unittest into ExecutorTest
ebonnal 7ced787
fix versionchanged
ebonnal cb5f26e
📜🤖 Added by blurb_it.
blurb-it[bot] f46ebe6
fix tests determinism
ebonnal eb26e86
add test_map_with_buffersize_on_empty_iterable
ebonnal 0821f95
allow timeout + buffersize
ebonnal d95c55b
lint import
ebonnal c80f466
tests: polish
ebonnal 90e6d7c
rephrase docstring
ebonnal ab91694
fix Doc/library/concurrent.futures.rst
ebonnal 01b8adf
reorder imports
ebonnal 2f8a63f
rephrase buffersize's ValueError
ebonnal 1fb53a5
update 3.14.rst
ebonnal 365c85d
edit docstring
ebonnal bf5f838
lint
ebonnal a0057f1
lint
ebonnal 1aa1275
comment on weakref
ebonnal e0a9a9e
lint
ebonnal 8d6ea97
test_map_with_buffersize_when_buffer_becomes_full: avoid using multip…
ebonnal 6124868
lint
ebonnal c11276f
test_map_with_buffersize_and_timeout: avoid sleeping 0 seconds for win32
ebonnal ebb5337
remove test_map_with_buffersize_and_timeoutthat does not improve cove…
ebonnal 602968c
extend unittesting to no and multiple input iterables
ebonnal b14e368
Update Lib/concurrent/futures/_base.py
ebonnal d37ce09
rename args_iter -> zipped_iterables
ebonnal cdf239c
remove period at end of error message
ebonnal 0a49784
unit tests: merge into a single test method with test messages
ebonnal 178d6fe
apply review on tests format
ebonnal 516a94b
Update Misc/NEWS.d/next/Library/2024-10-18-10-27-54.gh-issue-74028.4d…
ebonnal ba4ac81
Update Doc/whatsnew/3.14.rst
ebonnal 9588059
use assertListEqual
ebonnal 0427bf1
test_map_buffersize_validation: test negative buffersize
ebonnal af88fdf
explicitly checks buffersize's type and add test_map_buffersize_type_…
ebonnal 1fcf3fe
test_map_buffersize_on_infinite_iterable: fetch the first 4 elements
ebonnal 0892b2b
add `test_map_buffersize_on_multiple_infinite_iterables`
ebonnal 579ba31
doc: specify that it is the size of a buffer of tasks and not results
ebonnal 332826a
Merge remote-tracking branch 'cpython/main' into fix-issue-29842
ebonnal ef814e5
Update Doc/whatsnew/3.14.rst
ebonnal 26c8d8d
Merge branch 'main' into fix-issue-29842
encukou 7b1d5f6
remove redundant `iter`
ebonnal 8dac531
Merge remote-tracking branch 'cpython/main' into fix-issue-29842
ebonnal bb756f4
add new line in 3.14.rst
ebonnal 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
fix versionchanged
- Loading branch information
commit 7ced7877885438aff732e1d691de7b5c687caa00
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
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.