@@ -1312,6 +1312,8 @@ concurrent.futures
1312
1312
in :pep: `734 `.
1313
1313
(Contributed by Eric Snow in :gh: `124548 `.)
1314
1314
1315
+ .. _whatsnew314-concurrent-futures-start-method :
1316
+
1315
1317
* On Unix platforms other than macOS, :ref: `'forkserver'
1316
1318
<multiprocessing-start-method-forkserver>` is now the the default :ref: `start
1317
1319
method <multiprocessing-start-methods>` for
@@ -1745,6 +1747,8 @@ mimetypes
1745
1747
multiprocessing
1746
1748
---------------
1747
1749
1750
+ .. _whatsnew314-multiprocessing-start-method :
1751
+
1748
1752
* On Unix platforms other than macOS, :ref: `'forkserver'
1749
1753
<multiprocessing-start-method-forkserver>` is now the the default :ref: `start
1750
1754
method <multiprocessing-start-methods>`
@@ -3210,6 +3214,20 @@ that may require changes to your code.
3210
3214
Changes in the Python API
3211
3215
-------------------------
3212
3216
3217
+ * On Unix platforms other than macOS, *forkserver * is now the default
3218
+ :ref: `start method <multiprocessing-start-methods >` for :mod: `multiprocessing `
3219
+ and :class: `~concurrent.futures.ProcessPoolExecutor `, instead of *fork *.
3220
+
3221
+ See :ref: `(1) <whatsnew314-concurrent-futures-start-method >` and
3222
+ :ref: `(2) <whatsnew314-multiprocessing-start-method >` for details.
3223
+
3224
+ If you encounter :exc: `NameError `\s or pickling errors coming out of
3225
+ :mod: `multiprocessing ` or :mod: `concurrent.futures `, see the
3226
+ :ref: `forkserver restrictions <multiprocessing-programming-forkserver >`.
3227
+
3228
+ This change does not affect Windows or macOS, where :ref: `'spawn'
3229
+ <multiprocessing-start-method-spawn>` remains the default start method.
3230
+
3213
3231
* :class: `functools.partial ` is now a method descriptor.
3214
3232
Wrap it in :func: `staticmethod ` if you want to preserve the old behavior.
3215
3233
(Contributed by Serhiy Storchaka and Dominykas Grigonis in :gh: `121027 `.)
0 commit comments