summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Sneddon <me@gsnedders.com>2021-09-23 21:03:13 (GMT)
committerGitHub <noreply@github.com>2021-09-23 21:03:13 (GMT)
commitaf90b5498b8c6acd67b50fdad007d26dfd1c5823 (patch)
tree04d7c8066ba4d03e2ac2d9e58dafb7678975203a
parent8492b729ae97737d22544f2102559b2b8dd03a03 (diff)
downloadcpython-af90b5498b8c6acd67b50fdad007d26dfd1c5823.zip
cpython-af90b5498b8c6acd67b50fdad007d26dfd1c5823.tar.gz
cpython-af90b5498b8c6acd67b50fdad007d26dfd1c5823.tar.bz2
[docs] Update documentation for `multiprocessing.get_start_method` (GH-18170)
-rw-r--r--Doc/library/multiprocessing.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index 8b76058b..c5d07dc 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -1030,7 +1030,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