Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Mention the forkserver start method change in Porting
  • Loading branch information
AA-Turner committed Sep 30, 2025
commit 241ed67e46deb306e86cd663f86dbc1e17d06f02
18 changes: 18 additions & 0 deletions Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1312,6 +1312,8 @@ concurrent.futures
in :pep:`734`.
(Contributed by Eric Snow in :gh:`124548`.)

.. _whatsnew314-concurrent-futures-start-method:

* On Unix platforms other than macOS, :ref:`'forkserver'
<multiprocessing-start-method-forkserver>` is now the the default :ref:`start
method <multiprocessing-start-methods>` for
Expand Down Expand Up @@ -1745,6 +1747,8 @@ mimetypes
multiprocessing
---------------

.. _whatsnew314-multiprocessing-start-method:

* On Unix platforms other than macOS, :ref:`'forkserver'
<multiprocessing-start-method-forkserver>` is now the the default :ref:`start
method <multiprocessing-start-methods>`
Expand Down Expand Up @@ -3210,6 +3214,20 @@ that may require changes to your code.
Changes in the Python API
-------------------------

* On Unix platforms other than macOS, *forkserver* is now the default
:ref:`start method <multiprocessing-start-methods>` for :mod:`multiprocessing`
and :class:`~concurrent.futures.ProcessPoolExecutor`, instead of *fork*.

See :ref:`(1) <whatsnew314-concurrent-futures-start-method>` and
:ref:`(2) <whatsnew314-multiprocessing-start-method>` for details.

If you encounter :exc:`NameError`\s or pickling errors coming out of
:mod:`multiprocessing` or :mod:`concurrent.futures`, see the
:ref:`forkserver restrictions <multiprocessing-programming-forkserver>`.

This change does not affect Windows or macOS, where :ref:`'spawn'
<multiprocessing-start-method-spawn>` remains the default start method.

* :class:`functools.partial` is now a method descriptor.
Wrap it in :func:`staticmethod` if you want to preserve the old behavior.
(Contributed by Serhiy Storchaka and Dominykas Grigonis in :gh:`121027`.)
Expand Down
Loading