diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-09-23 21:39:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 21:39:08 (GMT) |
commit | b97f1f82a313918dfdddec8b3492728c8dfae255 (patch) | |
tree | b6600f12577a884569b1d6b0805e4cf8a7acf877 /Doc/library | |
parent | 7fa76ece3074aa87f34aa55956627171e1d6329f (diff) | |
download | cpython-b97f1f82a313918dfdddec8b3492728c8dfae255.zip cpython-b97f1f82a313918dfdddec8b3492728c8dfae255.tar.gz cpython-b97f1f82a313918dfdddec8b3492728c8dfae255.tar.bz2 |
[docs] Update documentation for `multiprocessing.get_start_method` (GH-18170) (GH-28534)
(cherry picked from commit af90b5498b8c6acd67b50fdad007d26dfd1c5823)
Co-authored-by: Sam Sneddon <me@gsnedders.com>
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/multiprocessing.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 57a07dc..7588e1d 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 |