Skip to content

Commit 809d298

Browse files
[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 5557689 commit 809d298

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
@@ -1030,7 +1030,13 @@ Miscellaneous
10301030

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

10351041
.. versionadded:: 3.4
10361042

0 commit comments

Comments
 (0)