Skip to content

Commit 53017ca

Browse files
miss-islingtongsnedders
authored andcommitted
[docs] Update documentation for multiprocessing.get_start_method (GH-18170) (GH-28533)
(cherry picked from commit af90b54) Co-authored-by: Sam Sneddon <[email protected]>
1 parent 7d652c1 commit 53017ca

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Doc/library/multiprocessing.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,13 @@ Miscellaneous
10291029

10301030
The return value can be ``'fork'``, ``'spawn'``, ``'forkserver'``
10311031
or ``None``. ``'fork'`` is the default on Unix, while ``'spawn'`` is
1032-
the default on Windows.
1032+
the default on Windows and macOS.
1033+
1034+
.. versionchanged:: 3.8
1035+
1036+
On macOS, the *spawn* start method is now the default. The *fork* start
1037+
method should be considered unsafe as it can lead to crashes of the
1038+
subprocess. See :issue:`33725`.
10331039

10341040
.. versionadded:: 3.4
10351041

0 commit comments

Comments
 (0)