[Python-checkins] [docs] Update documentation for `multiprocessing.get_start_method` (GH-18170) (GH-28533)
ambv
webhook-mailer at python.org
Thu Sep 23 17:38:48 EDT 2021
https://github.com/python/cpython/commit/809d298f6037d5b6c06124a416c4f393584926c1
commit: 809d298f6037d5b6c06124a416c4f393584926c1
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-09-23T23:38:44+02:00
summary:
[docs] Update documentation for `multiprocessing.get_start_method` (GH-18170) (GH-28533)
(cherry picked from commit af90b5498b8c6acd67b50fdad007d26dfd1c5823)
Co-authored-by: Sam Sneddon <me at gsnedders.com>
files:
M Doc/library/multiprocessing.rst
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index 3d78ad3f7c977..7225b65dcb05d 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
More information about the Python-checkins
mailing list