mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
[docs] Update documentation for multiprocessing.get_start_method
(GH-18170)
This commit is contained in:
parent
8492b729ae
commit
af90b5498b
1 changed files with 7 additions and 1 deletions
|
@ -1030,7 +1030,13 @@ Miscellaneous
|
||||||
|
|
||||||
The return value can be ``'fork'``, ``'spawn'``, ``'forkserver'``
|
The return value can be ``'fork'``, ``'spawn'``, ``'forkserver'``
|
||||||
or ``None``. ``'fork'`` is the default on Unix, while ``'spawn'`` is
|
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
|
.. versionadded:: 3.4
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue