Miss Islington (bot)
543242ad8c
Fix the signature of multiprocessing.set_executable (GH-31276)
Automerge-Triggered-By: GH:merwok
(cherry picked from commit 4f9386661d )
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
4 years ago
Miss Islington (bot)
4449a1694a
bpo-45554: Document multiprocessing.Process.exitcode values (GH-30142)
This addresses [bpo-45554]() by expanding the `exitcode` documentation to also describe what `exitcode` will be in cases of normal termination, `sys.exit()` called, and on uncaught exceptions.
Automerge-Triggered-By: GH:pitrou
(cherry picked from commit 3852269b91 )
Co-authored-by: John Marshall <jmarshall@hey.com>
4 years ago
Miss Islington (bot)
2cb9ed2a6a
Doc: Fix link in multiprocessing.starmap pointing to builtin map. (GH-26560)
(cherry picked from commit 32096df0e0 )
Co-authored-by: Julien Palard <julien@palard.fr>
4 years ago
Miss Islington (bot)
fb80aede6a
bpo-45604: add `level` argument to `multiprocessing.log_to_stderr` func (GH-29226) (GH-29283)
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
(cherry picked from commit 1fb968c07a )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
4 years ago
Miss Islington (bot)
b2a8a30b0d
[doc] Clarify exception in `multiprocessing.cpu_count` (GH-23660) (GH-28433)
Previous wording didn't explain the slightly unintuitive behavior.
Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 24dbe30f8d )
Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
4 years ago
Miss Islington (bot)
db3ac48999
bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515) (GH-28523)
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>
(cherry picked from commit 36122e1814 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years ago
Miss Islington (bot)
53017caa5c
[docs] Update documentation for `multiprocessing.get_start_method` (GH-18170) (GH-28533)
(cherry picked from commit af90b5498b )
Co-authored-by: Sam Sneddon <me@gsnedders.com>
4 years ago
Miss Islington (bot)
809d298f60
[docs] Update documentation for `multiprocessing.get_start_method` (GH-18170) (GH-28533)
(cherry picked from commit af90b5498b )
Co-authored-by: Sam Sneddon <me@gsnedders.com>
4 years ago
Miss Islington (bot)
1493e1a40d
bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515) (GH-28523)
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>
(cherry picked from commit 36122e1814 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years ago
Miss Islington (bot)
397dad4001
[doc] Clarify exception in `multiprocessing.cpu_count` (GH-23660) (GH-28433)
Previous wording didn't explain the slightly unintuitive behavior.
Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 24dbe30f8d )
Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
4 years ago
Miss Islington (bot)
d657da8155
bpo-39498 Start linking the security warnings in the stdlib modules (GH-18272)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit c5c5326d47 )
Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
4 years ago
Andre Delfino
52cd6d5e1b
Use the zero argument form of super() in examples for Python3 docs. (GH-22314)
5 years ago
Matt Wozniski
84ebcf271a
bpo-17140: Document multiprocessing's ThreadPool (GH-23812)
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__`.
5 years ago
Andre Delfino
4b44472966
Fix multiprocessing markup (GH-23525)
5 years ago
ArioA
6edf06b24a
bpo-42407: Use possessive appostrophe in multiprocessing doc (GH-23400)
5 years ago
Mason
b260635b3d
Add missing word (GH-21936)
"data to lost" -> "data to be lost"
5 years ago
Victor Stinner
bb0b08540c
bpo-40204: Fix reference to terms in the doc (GH-21865)
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.
5 years ago
Volker-Weissmann
f9bf015799
Simple Documentation fix: Missing link to return type class. (GH-21291)
Just a simple documentation fix: apply_async and map_async return a "multiprocessing.pool.AsyncResult Object", not a "result object".
5 years ago
Joe DeCapo
a355a06fcc
Fix typo in multiprocessing documentation (GH-20016)
6 years ago
Victor Stinner
9adccc1384
bpo-30966: Add multiprocessing.SimpleQueue.close() (GH-19735)
Add a new close() method to multiprocessing.SimpleQueue to explicitly
close the queue.
Automerge-Triggered-By: @pitrou
6 years ago
Pablo Galindo
7ec43a7309
bpo-38501: Add a warning section to multiprocessing.Pool docs about resource managing (GH-19466)
6 years ago
Antoine
dc0284ee8f
Fix typo in multiprocessing.pool.AsyncResult.successful doc. (GH-17932)
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.
6 years ago
An Long
eb48a451e3
bpo-27873: Update docstring for multiprocessing.Pool.map (GH-17436)
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
6 years ago
Victor Stinner
1e77ab0a35
bpo-33725, multiprocessing doc: rephase warning against fork on macOS (GH-13841)
Co-Authored-By: Barry Warsaw <barry@python.org>
7 years ago
Benjamin Yeh
d4cf099dff
Fix documentation (GH-13721)
Based on the source code 4a686504eb/Lib/multiprocessing/pool.py (L755) AsyncResult.successful() raises a ValueError, not an AssertionError.
7 years ago
Victor Stinner
17a5588740
bpo-33725: multiprocessing uses spawn by default on macOS (GH-13603)
On macOS, the multiprocessing module now uses the "spawn" start
method by default.
7 years ago
Thomas Moreau
c09a9f56c0
bpo-36888: Add multiprocessing.parent_process() (GH-13247)
7 years ago
Pierre Glaser
50466c6650
bpo-36867: DOC update multiprocessing.rst (GH-13289)
Followup to bpo-36867.
7 years ago
Julien Palard
d9bd8ec2a4
Doc: Fix inconsistency in multiprocessing (GH-12273)
7 years ago
Windson yang
3bab40db96
bpo-34134: Advise to use imap or imap_unordered when handling long iterables. (gh-8324)
7 years ago
Bo Bayles
bab4bbb4c9
bpo-32146: Add documentation about frozen executables on Unix (GH-5850)
7 years ago
Victor Stinner
7acd50ad8b
bpo-35491: Enhance multiprocessing.BaseProcess.__repr__() (GH-11138)
* 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>
7 years ago
Zackery Spytz
0461704060
bpo-22872: multiprocessing.Queue's put() and get() now raise ValueError if the queue is closed. (GH-9010)
Previously, put() and get() would raise AssertionError and OSError,
respectively.
7 years ago
Stéphane Wirtel
859c068e52
bpo-34962: make doctest in Doc/ now passes, and is enforced in CI (GH-9806)
7 years ago
Victor Stinner
5e922658fb
bpo-34605: Avoid master/slave terms (GH-9101)
* 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
7 years ago
Bo Bayles
9f3535c9cd
bpo-32362: Fix references to non-existent multiprocessing.Connection() (GH-6223)
8 years ago
Jason Yang
c172fc5031
bpo-32051: Fix name shadowing in multiprocessing docs (GH-4469)
8 years ago
Victor Stinner
8c663fd60e
Replace KB unit with KiB ( #4293 )
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.
8 years ago
Jelle Zijlstra
1e5d54cfa0
bpo-31965: fix doc for multiprocessing.connection.Client and Listener ( #4304 )
* 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.
8 years ago
Pablo Galindo
11225753a8
bpo-31304: Update starmap_async documentation. (GH-4168)
Update the kwarg in the documentation of `multiprocessing.pool.Pool.starmap_async`, from `error_back` to `error_callback` to match the source code..
8 years ago
Yuval Langer
6fcb69dad5
Fix trivial typo in multiprocessing documentation (GH-2930)
8 years ago
Vitor Pereira
ba75af7130
bpo-30794: added kill() method to multiprocessing.Process ( #2528 )
* 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
8 years ago
Antoine Pitrou
13e96cc596
Fix bpo-30596: Add close() method to multiprocessing.Process ( #2010 )
* 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
9 years ago
Sylvain Bellemare
5619ab2db3
doc: Fix small typos in library/multiprocessing (GH-698)
9 years ago
Serhiy Storchaka
ecf41da83e
Issue #19795 : Mark up None as literal text.
9 years ago
Berker Peksag
a24d2d8274
Issue #10673 : Document that Process.exitcode can be used to determine timeout
Patch by Tom Clark.
9 years ago
Davin Potts
86a7668426
Fixes issue #6766 : Updated multiprocessing Proxy Objects to support nesting
9 years ago
Berker Peksag
00eaa8a53b
Use exc role for ValueError in multiprocessing.rst
10 years ago
Berker Peksag
0b19e1e72c
Issue #27221 : Delete an outdated paragraph about pickle support of Process
Initial patch by Jelle Zijlstra.
10 years ago
Terry Jan Reedy
fa089b9b0b
Issue #22558 : Add remaining doc links to source code for Python-coded modules.
Reformat header above separator line (added if missing) to a common format.
Patch by Yoni Lavi.
10 years ago