Antoine Pitrou
63ff4131af
bpo-21423: Add an initializer argument to {Process,Thread}PoolExecutor ( #4241 )
...
* bpo-21423: Add an initializer argument to {Process,Thread}PoolExecutor
* Fix docstring
2017-11-04 11:05:49 +01:00
Łukasz Langa
574562c5dd
bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_completed()` ( #3830 )
...
This was possible before. GH-1560 introduced a regression after 3.6.2 got
released where only sequences were accepted now. This commit addresses this
problem.
2017-09-29 14:33:34 -07:00
Antoine Pitrou
2ef37607b7
Fix a c.f.as_completed() refleak previously introduced in bpo-27144 ( #3270 )
2017-09-03 15:09:23 +02:00
Grzegorz Grzywacz
97e1b1c814
bpo-27144: concurrent.futures as_complete and map iterators do not keep reference to returned object ( #1560 )
...
* bpo-27144: concurrent.futures as_complie and map iterators do not keep
reference to returned object
* Some nits. Improve wordings in docstrings and comments, and avoid relying on
sys.getrefcount() in tests.
2017-09-01 18:54:00 +02:00
Martin Panter
2eb819f7a8
Issue #25523 : Merge "a" to "an" fixes from 3.4 into 3.5
2015-11-02 04:04:57 +00:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Antoine Pitrou
4aae276eca
Issue #11271 : concurrent.futures.Executor.map() now takes a *chunksize*
...
argument to allow batching of tasks in child processes and improve
performance of ProcessPoolExecutor. Patch by Dan O'Reilly.
2014-10-04 20:20:10 +02:00
Serhiy Storchaka
465e60e654
Issue #22033 : Reprs of most Python implemened classes now contain actual
...
class name instead of hardcoded one.
2014-07-25 23:36:00 +03:00
Brian Quinlan
2b754f49a5
Issue #20319 : concurrent.futures.wait() can block forever even if Futures have completed
2014-02-01 11:49:04 +11:00
Guido van Rossum
e6994ff6e3
Fix issue #20367 : concurrent.futures.as_completed() for duplicate arguments.
...
Patch by Glenn Langford.
2014-01-26 09:57:51 -08:00
Terry Jan Reedy
16b5c13668
Merge 3.3, issue #17047 : remove doubled words found in 2.7 to
...
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:59:07 -04:00
Terry Jan Reedy
98472b8396
Merge 3.2, issue #17047 : remove doubled words found in 2.7 to
...
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:58:27 -04:00
Terry Jan Reedy
c30b7b16ea
Issue #17047 : remove doubled words found in 2.7 to 3.4 Lib/*,
...
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:57:08 -04:00
Eli Bendersky
c9d504fc29
Fix docstring typo in concurrent.futures.Future
2013-01-17 06:36:30 -08:00
Eli Bendersky
6a56b8ab9c
Fix docstring typo in concurrent.futures.Future
2013-01-17 06:36:30 -08:00
Philip Jenvey
4993cc0a5b
utilize yield from
2012-10-01 12:53:43 -07:00
Brian Quinlan
a26ad5a0a1
#15015 : Fix accessing an non-existing attribute.
2012-06-11 12:59:07 +10:00
Antoine Pitrou
8b34b53c52
Issue #14406 : Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`.
...
Patch by Matt Joiner.
2012-03-31 20:25:22 +02:00
Antoine Pitrou
f70401e842
Issue #14406 : Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`.
...
Patch by Matt Joiner.
2012-03-31 20:23:30 +02:00
Florent Xicluna
04842a84c3
Remove unused or redundant imports in concurrent.futures and multiprocessing.
2011-11-11 20:05:50 +01:00
Brian Quinlan
f007876bd6
Issue #11777 : Executor.map does not submit futures until iter.next() is called
2011-04-08 08:19:33 +10:00
Brian Quinlan
251cc846f3
Does not install a logging handler. Fixes issue 10626.
2010-12-28 21:14:34 +00:00
Brian Quinlan
3ec60183a4
Removes an inefficient spin loop in as_completed
2010-11-17 11:06:29 +00:00
Brian Quinlan
1e2ae4f054
Fixes 9903: test_concurrent_futures writes on stderr
2010-10-06 13:05:45 +00:00
Brian Quinlan
81c4d36928
Initial implementation of PEP 3148
2010-09-18 22:35:02 +00:00