summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-09-23 21:38:44 (GMT)
committerPablo Galindo <pablogsal@gmail.com>2021-09-29 11:30:17 (GMT)
commit53017caa5c91ddb144c5d4c8203fa38254dd5585 (patch)
tree6afd7b1194c6278dc60da6ccf792bfc94ac33746
parent7d652c1b7a56524fec42f65d9be28c17888075ab (diff)
downloadcpython-53017caa5c91ddb144c5d4c8203fa38254dd5585.zip
cpython-53017caa5c91ddb144c5d4c8203fa38254dd5585.tar.gz
cpython-53017caa5c91ddb144c5d4c8203fa38254dd5585.tar.bz2
[docs] Update documentation for `multiprocessing.get_start_method` (GH-18170) (GH-28533)
(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 945ac42..fbb3f19 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -1029,7 +1029,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