mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[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>
This commit is contained in:
parent
55576893b3
commit
809d298f60
1 changed files with 7 additions and 1 deletions
|
|
@ -1030,7 +1030,13 @@ Miscellaneous
|
|||
|
||||
The return value can be ``'fork'``, ``'spawn'``, ``'forkserver'``
|
||||
or ``None``. ``'fork'`` is the default on Unix, while ``'spawn'`` is
|
||||
the default on Windows.
|
||||
the default on Windows and macOS.
|
||||
|
||||
.. versionchanged:: 3.8
|
||||
|
||||
On macOS, the *spawn* start method is now the default. The *fork* start
|
||||
method should be considered unsafe as it can lead to crashes of the
|
||||
subprocess. See :issue:`33725`.
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue