Skip to content

Commit 8344fef

Browse files
[docs] Update documentation for multiprocessing.get_start_method (GH-18170) (GH-28535)
(cherry picked from commit af90b54) Co-authored-by: Sam Sneddon <[email protected]>
1 parent 5a42a49 commit 8344fef

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
@@ -1019,7 +1019,13 @@ Miscellaneous
10191019

10201020
The return value can be ``'fork'``, ``'spawn'``, ``'forkserver'``
10211021
or ``None``. ``'fork'`` is the default on Unix, while ``'spawn'`` is
1022-
the default on Windows.
1022+
the default on Windows and macOS.
1023+
1024+
.. versionchanged:: 3.8
1025+
1026+
On macOS, the *spawn* start method is now the default. The *fork* start
1027+
method should be considered unsafe as it can lead to crashes of the
1028+
subprocess. See :issue:`33725`.
10231029

10241030
.. versionadded:: 3.4
10251031

0 commit comments

Comments
 (0)