summaryrefslogtreecommitdiff
path: root/Doc/library/multiprocessing.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45604: add `level` argument to `multiprocessing.log_to_stderr` func ↵Nikita Sobolev2021-10-281-1/+2
| | | | | (GH-29226) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* [docs] Use full names for time units (GH-28611)Serhiy Storchaka2021-09-291-1/+1
| | | | Use "second", "millisecond", "microsecond", "nanosecond" instead of "sec", "ms", "msec", "us", "ns", etc.
* [docs] Update documentation for `multiprocessing.get_start_method` (GH-18170)Sam Sneddon2021-09-231-1/+7
|
* bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515)Serhiy Storchaka2021-09-221-3/+3
| | | | | | | Replace old names when they refer to actual versions of macOS. Keep historical names in references to older versions. Co-authored-by: Patrick Reader <_@pxeger.com>
* [doc] Clarify exception in `multiprocessing.cpu_count` (GH-23660)Emmanuel Arias2021-09-181-1/+2
| | | | | Previous wording didn't explain the slightly unintuitive behavior. Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-39498 Start linking the security warnings in the stdlib modules (GH-18272)Anthony Shaw2021-08-101-0/+1
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* Doc: Fix link in multiprocessing.starmap pointing to builtin map. (GH-26560)Julien Palard2021-07-071-2/+3
|
* Use the zero argument form of super() in examples for Python3 docs. (GH-22314)Andre Delfino2021-04-261-1/+1
|
* bpo-17140: Document multiprocessing's ThreadPool (GH-23812)Matt Wozniski2020-12-181-0/+40
| | | | | Up until now, the `multiprocessing.pool.ThreadPool` class has gone undocumented, despite being a public class in multiprocessing that is included in `multiprocessing.pool.__all__`.
* Fix multiprocessing markup (GH-23525)Andre Delfino2020-11-281-3/+3
|
* bpo-42407: Use possessive appostrophe in multiprocessing doc (GH-23400)ArioA2020-11-201-1/+1
|
* Add missing word (GH-21936)Mason2020-08-271-1/+1
| | | "data to lost" -> "data to be lost"
* 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.
* Simple Documentation fix: Missing link to return type class. (GH-21291)Volker-Weissmann2020-07-201-2/+4
| | | Just a simple documentation fix: apply_async and map_async return a "multiprocessing.pool.AsyncResult Object", not a "result object".
* Fix typo in multiprocessing documentation (GH-20016)Joe DeCapo2020-05-191-1/+1
|
* bpo-30966: Add multiprocessing.SimpleQueue.close() (GH-19735)Victor Stinner2020-04-271-0/+10
| | | | | | Add a new close() method to multiprocessing.SimpleQueue to explicitly close the queue. Automerge-Triggered-By: @pitrou
* bpo-38501: Add a warning section to multiprocessing.Pool docs about resource ↵Pablo Galindo2020-04-111-1/+12
| | | | managing (GH-19466)
* Fix typo in multiprocessing.pool.AsyncResult.successful doc. (GH-17932)Antoine2020-01-151-1/+1
| | | | | | | | Since 3.7 `successful` raises a `ValueError` as explained in the next text block from the documentation: _Changed in version 3.7: If the result is not ready, ValueError is raised instead of AssertionError._ No issue associated with this PR. Should be backported in 3.7 and 3.8.
* bpo-27873: Update docstring for multiprocessing.Pool.map (GH-17436)An Long2019-12-031-1/+2
| | | | | | | | Update docstring for `multiprocessing.Pool.map` to mention `pool.starmap()`. Prev PR: https://github.com/python/cpython/pull/17367 @aeros https://bugs.python.org/issue27873
* bpo-33725, multiprocessing doc: rephase warning against fork on macOS (GH-13841)Victor Stinner2019-06-051-2/+3
| | | Co-Authored-By: Barry Warsaw <barry@python.org>
* Fix documentation (GH-13721)Benjamin Yeh2019-06-051-0/+4
| | | Based on the source code https://github.com/python/cpython/blob/4a686504eb2bbf69adf78077458508a7ba131667/Lib/multiprocessing/pool.py#L755 AsyncResult.successful() raises a ValueError, not an AssertionError.
* bpo-33725: multiprocessing uses spawn by default on macOS (GH-13603)Victor Stinner2019-05-281-1/+6
| | | | On macOS, the multiprocessing module now uses the "spawn" start method by default.
* bpo-36888: Add multiprocessing.parent_process() (GH-13247)Thomas Moreau2019-05-201-0/+8
|
* bpo-36867: DOC update multiprocessing.rst (GH-13289)Pierre Glaser2019-05-131-6/+10
| | | Followup to bpo-36867.
* Doc: Fix inconsistency in multiprocessing (GH-12273)Julien Palard2019-03-111-1/+1
|
* bpo-34134: Advise to use imap or imap_unordered when handling long ↵Windson yang2019-01-251-1/+5
| | | | iterables. (gh-8324)
* bpo-32146: Add documentation about frozen executables on Unix (GH-5850)Bo Bayles2019-01-101-0/+7
|
* bpo-35491: Enhance multiprocessing.BaseProcess.__repr__() (GH-11138)Victor Stinner2018-12-141-3/+3
| | | | | | | | | | | | | | | | * Add the pid and parent pid to multiprocessing.BaseProcess.__repr__(). * Add negative sign (ex: "-SIGTERM") to exitcode (process killed by a signal) * Only call _popen.poll() once. Example: <ForkProcess(ForkPoolWorker-1, started daemon)> becomes: <ForkProcess name='ForkPoolWorker-1' pid=12449 parent=12448 started daemon> Example: <ForkProcess(ForkPoolWorker-1, stopped[SIGTERM] daemon)> becomes: <ForkProcess name='ForkPoolWorker-1' pid=12960 parent=12959 stopped exitcode=-SIGTERM daemon>
* bpo-22872: multiprocessing.Queue's put() and get() now raise ValueError if ↵Zackery Spytz2018-10-131-0/+8
| | | | | | | the queue is closed. (GH-9010) Previously, put() and get() would raise AssertionError and OSError, respectively.
* bpo-34962: make doctest in Doc/ now passes, and is enforced in CI (GH-9806)Stéphane Wirtel2018-10-121-3/+4
|
* bpo-34605: Avoid master/slave terms (GH-9101)Victor Stinner2018-09-071-1/+1
| | | | | | | * Replace "master process" with "parent process" * Replace "master option mappings" with "main option mappings" * Replace "master pattern object" with "main pattern object" * ssl: replace "master" with "server" * And some other similar changes
* bpo-32362: Fix references to non-existent multiprocessing.Connection() (GH-6223)Bo Bayles2018-04-291-11/+17
|
* bpo-32051: Fix name shadowing in multiprocessing docs (GH-4469)Jason Yang2017-11-271-2/+2
|
* Replace KB unit with KiB (#4293)Victor Stinner2017-11-081-2/+2
| | | | | | | | | | | kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte") means 1024 bytes. KB was misused: replace kB or KB with KiB when appropriate. Same change for MB and GB which become MiB and GiB. Change the output of Tools/iobench/iobench.py. Round also the size of the documentation from 5.5 MB to 5 MiB.
* bpo-31965: fix doc for multiprocessing.connection.Client and Listener (#4304)Jelle Zijlstra2017-11-071-19/+11
| | | | | | | | | | | | | * fix doc for multiprocessing.connection.Client The authenticate argument does not exist on either Client or Listener: - https://github.com/python/cpython/blob/master/Lib/multiprocessing/connection.py#L483 (master) - https://github.com/python/cpython/blob/3.6/Lib/multiprocessing/connection.py#L478 (3.6) - https://github.com/python/cpython/blob/3.5/Lib/multiprocessing/connection.py#L478 (3.5) - https://github.com/python/cpython/blob/3.4/Lib/multiprocessing/connection.py#L487 (3.4) The documentation also claimed that these functions will call `current_process().auth_key`, for which I could find no evidence in the code. I rewrote the documentation to reflect the actual behavior. Also made some small changes to vary sentence structure.
* bpo-31304: Update starmap_async documentation. (GH-4168)Pablo Galindo2017-10-301-1/+1
| | | Update the kwarg in the documentation of `multiprocessing.pool.Pool.starmap_async`, from `error_back` to `error_callback` to match the source code..
* Fix trivial typo in multiprocessing documentation (GH-2930)Yuval Langer2017-07-281-1/+1
|
* bpo-30794: added kill() method to multiprocessing.Process (#2528)Vitor Pereira2017-07-181-0/+6
| | | | | | | | | | | | | | * bpo-30794: added kill() method to multiprocessing.Process * Added entries to documentation and NEWS * Refactored test_terminate and test_kill * Fix SIGTERM and SIGKILL being used on Windows for the tests * Added "versionadded" marker to the documentation * Fix trailing whitespace in doc
* Fix bpo-30596: Add close() method to multiprocessing.Process (#2010)Antoine Pitrou2017-06-241-0/+10
| | | | | | | | | | * Fix bpo-30596: Add close() method to multiprocessing.Process * Raise ValueError if close() is called before the Process is finished running * Add docs * Add NEWS blurb
* doc: Fix small typos in library/multiprocessing (GH-698)Sylvain Bellemare2017-03-241-2/+2
|
* Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-5/+5
|\
| * Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-5/+5
| |
* | Issue #10673: Merge from 3.5Berker Peksag2016-09-261-0/+3
|\ \ | |/
| * Issue #10673: Document that Process.exitcode can be used to determine timeoutBerker Peksag2016-09-261-0/+3
| | | | | | | | Patch by Tom Clark.
* | Fixes issue #6766: Updated multiprocessing Proxy Objects to support nestingDavin Potts2016-09-071-29/+54
| |
* | Merge from 3.5Berker Peksag2016-06-121-1/+1
|\ \ | |/
| * Use exc role for ValueError in multiprocessing.rstBerker Peksag2016-06-121-1/+1
| |
* | Issue #27221: Merge from 3.5Berker Peksag2016-06-121-6/+1
|\ \ | |/
| * Issue #27221: Delete an outdated paragraph about pickle support of ProcessBerker Peksag2016-06-121-6/+1
| | | | | | | | Initial patch by Jelle Zijlstra.
* | Merge Issue #22558.Terry Jan Reedy2016-06-111-0/+3
|\ \ | |/