]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[docs] Update documentation for `multiprocessing.get_start_method` (GH-18170) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 23 Sep 2021 21:39:26 +0000 (14:39 -0700)
committerGitHub <noreply@github.com>
Thu, 23 Sep 2021 21:39:26 +0000 (23:39 +0200)
(cherry picked from commit af90b5498b8c6acd67b50fdad007d26dfd1c5823)

Co-authored-by: Sam Sneddon <me@gsnedders.com>
Doc/library/multiprocessing.rst

index 5777344953a772be8cae6ef96e309f776824b62b..360cd89fe91d50c32aa2d3eb7d38c397528a9a47 100644 (file)
@@ -1019,7 +1019,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