summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-09-23 21:39:26 (GMT)
committerGitHub <noreply@github.com>2021-09-23 21:39:26 (GMT)
commit8344fef7dc2cf0ef8a33449df9c165247fb37a3a (patch)
tree92c0f73ee2b44eafadff3a2a3d081cc8657a8446
parent5a42a49477cd601d67d81483f9589258dccb14b1 (diff)
downloadcpython-8344fef7dc2cf0ef8a33449df9c165247fb37a3a.zip
cpython-8344fef7dc2cf0ef8a33449df9c165247fb37a3a.tar.gz
cpython-8344fef7dc2cf0ef8a33449df9c165247fb37a3a.tar.bz2
[docs] Update documentation for `multiprocessing.get_start_method` (GH-18170) (GH-28535)
(cherry picked from commit af90b5498b8c6acd67b50fdad007d26dfd1c5823) Co-authored-by: Sam Sneddon <me@gsnedders.com>
-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 5777344..360cd89 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -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