summaryrefslogtreecommitdiffstats
path: root/Doc/library/concurrent.futures.rst
Commit message (Collapse)AuthorAgeFilesLines
* gh-93675: Fix typos in `Doc/` (GH-93676)luzpaz2022-06-211-1/+1
| | | Closes #93675
* gh-90622: Prevent max_tasks_per_child use with a fork mp_context. (#91587)Gregory P. Smith2022-05-061-2/+5
| | | | | Prevent `max_tasks_per_child` use with a "fork" mp_context to avoid deadlocks. Also defaults to "spawn" when no mp_context is supplied for safe convenience.
* Fix missing "," in the documentation of Executor Objects (GH-30404)Philipp Claßen2022-01-041-1/+1
|
* bpo-20369: concurrent.futures.wait() now deduplicates futures given a… ↵Kumar Aditya2022-01-041-1/+2
| | | | | | | | | (GH-30168) * bpo-20369: concurrent.futures.wait() now deduplicates futures given as arg. * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* bpo-42413: Replace `concurrent.futures.TimeoutError` and ↵Kumar Aditya2021-12-191-5/+11
| | | | | `asyncio.TimeoutError` with builtin `TimeoutError` (GH-30197) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-44733: Add max_tasks_per_child to ProcessPoolExecutor (GH-27373)Logan Jones2021-11-201-1/+10
| | | Co-authored-by: Antoine Pitrou <antoine@python.org>
* Add missing end of sentence in docs (GH-27280)Adrian Garcia Badaracco2021-07-281-1/+1
|
* [doc] Fix erroneous backslashes in signatures and names (GH-23658)Andre Delfino2020-12-171-1/+1
| | | | | The issue being resolved is shown in the 3.10 docs (if you select docs for older versions you won't see a visual glitch). The newer sphinx version that produces the 3.10 docs doesn't treat the backslash to escape things in some situations it previously did.
* Minor wording change in concurrent.futures. (GH-23194)Don Kirkby2020-11-081-3/+3
| | | Fixes a grammar problem by adding a missing "as", and clarifies the wording of the valid ranges for max_workers.
* bpo-40204: Fix reference to terms in the doc (GH-21865)Victor Stinner2020-08-141-1/+2
| | | | | | | | Sphinx 3 requires to refer to terms with the exact case. For example, fix the Sphinx 3 warning: Doc/library/pkgutil.rst:71: WARNING: term Loader not found in case sensitive match.made a reference to loader instead.
* bpo-39349: Add *cancel_futures* to Executor.shutdown() (GH-18057)Kyle Stanley2020-02-021-1/+13
|
* Update concurrent.futures.rst (GH-14061)Géry Ogam2019-06-141-6/+8
| | | | | | This PR adds missing details in the [`concurrent.futures`](https://docs.python.org/3/library/concurrent.futures.html) documentation: * the mention that `Future.cancel` also returns `False` if the call finished running; * the mention of the states for `Future` that did not complete: pending or running.
* [3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)Serhiy Storchaka2019-06-051-1/+1
| | | Turn deprecation warnings added in 3.8 into TypeError.
* bpo-35279: reduce default max_workers of ThreadPoolExecutor (GH-13618)Inada Naoki2019-05-281-0/+9
|
* bpo-26903: Limit ProcessPoolExecutor to 61 workers on Windows (GH-13132)Brian Quinlan2019-05-081-0/+4
| | | | Co-Authored-By: brianquinlan <brian@sweetapp.com>
* Fix typos in concurrent.Futures documentation (GH-10920)Matt Wheeler2018-12-051-2/+2
| | | | Add a missing word `as` in `as well as an`. Linkify `threading.Thread`.
* Doc: Fix is_prime (GH-9909)Julien Palard2018-10-171-0/+4
|
* Fix wrong exception reference: BrokenThreadPool -> BrokenProcessPool (GH-9533)Joni Kähärä2018-09-251-1/+1
|
* bpo-33238: Add InvalidStateError to concurrent.futures. (GH-7056)jhaydaman2018-05-301-0/+16
| | | | | | | Future.set_result and Future.set_exception now raise InvalidStateError if the futures are not pending or running. This mirrors the behavior of asyncio.Future, and prevents AssertionErrors in asyncio.wrap_future when set_result is called multiple times.
* bpo-32306: Clarify c.f.Executor.map() documentation (#4947)Antoine Pitrou2017-12-201-13/+21
| | | The built-in map() function collects function arguments lazily, but concurrent.futures.Executor.map() does so eagerly.
* bpo-21423: Add an initializer argument to {Process,Thread}PoolExecutor (#4241)Antoine Pitrou2017-11-041-6/+42
| | | | | | * bpo-21423: Add an initializer argument to {Process,Thread}PoolExecutor * Fix docstring
* bpo-31540: Allow passing multiprocessing context to ProcessPoolExecutor (#3682)Thomas Moreau2017-10-031-1/+8
|
* Issue #27664: Add to concurrent.futures.thread.ThreadPoolExecutor()Gregory P. Smith2016-08-071-1/+5
| | | | the ability to specify a thread name prefix.
* Issue #26553: Capitalization of HTTP, HTTPS, FTP, and URLMartin Panter2016-05-281-1/+1
| | | | Patch by Anish Shah and Aatish Neupane.
* Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-2/+2
| | | | Original patch by James Edwards.
* issue23962 - Reference the correct TimeoutError in concurrent.futures ↵Senthil Kumaran2016-01-191-16/+27
| | | | | | documentation. Patch contributed by Ryder Lewis.
* Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-2/+2
|\
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-2/+2
| | | | | | | | | | | | 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.
* | Issue #25127: Fix typo in concurrent.futures.rstBerker Peksag2015-09-151-1/+1
|\ \ | |/ | | | | Reported by Jakub Wilk.
| * Issue #25127: Fix typo in concurrent.futures.rstBerker Peksag2015-09-151-1/+1
| | | | | | | | Reported by Jakub Wilk.
* | Issue #12955: Change the urlopen() examples to use context managers where ↵Berker Peksag2015-04-121-2/+2
|\ \ | |/ | | | | | | | | appropriate. Patch by Martin Panter.
| * Issue #12955: Change the urlopen() examples to use context managers where ↵Berker Peksag2015-04-121-2/+2
| | | | | | | | | | | | appropriate. Patch by Martin Panter.
* | merge with 3.4Georg Brandl2014-10-281-0/+2
|\ \ | |/
| * Fix module name.Georg Brandl2014-10-281-0/+2
| |
* | Issue #11271: concurrent.futures.Executor.map() now takes a *chunksize*Antoine Pitrou2014-10-041-2/+11
| | | | | | | | | | argument to allow batching of tasks in child processes and improve performance of ProcessPoolExecutor. Patch by Dan O'Reilly.
* | Closes #21527: Add default number of workers to ThreadPoolExecutor. (Claudiu ↵Guido van Rossum2014-09-021-1/+9
| | | | | | | | Popa.)
* | Issue #21362: concurrent.futures does not validate that max_workers is properBrian Quinlan2014-05-171-0/+2
|/
* Fix issue #20367: concurrent.futures.as_completed() for duplicate arguments.Guido van Rossum2014-01-261-1/+2
| | | | Patch by Glenn Langford.
* Issue #11161: Update the documentation for ProcessPoolExecutor to note that ↵bquinlan2013-10-251-0/+3
| | | | it will not work in the interactive shell.
* Issue #18757: Improved cross-references in the concurrent package.Serhiy Storchaka2013-08-231-1/+1
|
* merge with 3.3.1 release cloneGeorg Brandl2013-04-061-1/+1
|\
| * Fix suspicious markup in the docs.Georg Brandl2013-03-231-1/+1
| |
* | Closes #4159: add LaTeX tabular column specifications to tables that ↵Georg Brandl2013-03-281-0/+2
|/ | | | otherwise are cut off or have overlapping text.
* Fix typo in example (pointed out by a couple of people, most recently Ken Rimey)Nick Coghlan2012-10-201-1/+1
|
* A dict comprehension is much prettier (thanks Antoine)Nick Coghlan2012-10-161-5/+3
|
* Tweak the threaded example in concurrent.futuresNick Coghlan2012-10-161-10/+15
|
* merge 3.2Benjamin Peterson2012-10-121-10/+12
|\
| * Fix links to the __next__ method.Ezio Melotti2012-10-121-10/+12
| |
* | Merge with 3.2.Ezio Melotti2011-10-191-1/+1
|\ \ | |/
| * Remove duplication.Ezio Melotti2011-10-191-1/+1
| |