Skip to content

gh-84559: Change the multiprocessing start method default to forkserver - #101556

Merged
gpshead merged 14 commits into
python:mainfrom
gpshead:multiprocessing/default-start-method-3.14
Sep 26, 2024
Merged

gh-84559: Change the multiprocessing start method default to forkserver#101556
gpshead merged 14 commits into
python:mainfrom
gpshead:multiprocessing/default-start-method-3.14

Conversation

@gpshead

@gpsheadgpshead commented Feb 4, 2023

Copy link
Copy Markdown
Member

We change the default from fork to forkserver or spawn. See the issue for details.

This change is intended for Python 3.14.

TODO:

  • The 3.13 release branch has been made, thus starting 3.14 in main.
  • NEWS entry added.
  • Documentation updates in:
    • library/multiprocessing.rst
    • library/concurrent.futures.rst
    • whatsnew/3.14.rst

We drop 'fork' in favor of 'forkserver' or 'spawn'. See the issue for details.
@gpshead
gpshead marked this pull request as ready for review September 24, 2024 21:24
@gpshead
gpshead requested a review from hugovkSeptember 24, 2024 21:25
@gpsheadgpshead changed the title gh-84559: multiprocessing start method default away from forkgh-84559: Change the multiprocessing start method default to forkserverSep 24, 2024
@gpsheadgpshead added 3.14 bugs and security fixes docs Documentation in the Doc dir stdlib Standard Library Python modules in the Lib/ directory and removed DO-NOT-MERGE labels Sep 24, 2024
Comment threadMisc/NEWS.d/next/Library/2024-09-19-00-09-48.gh-issue-84559.IrxvQe.rst Outdated
@gpshead

Copy link
Copy Markdown
MemberAuthor

@ericsnowcurrently could you review? (likely an easy one)

@ericsnowcurrentlyericsnowcurrently left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks for following this through!

Comment threadLib/test/support/__init__.py
Comment threadLib/test/_test_multiprocessing.py
@gpsheadgpshead added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Sep 26, 2024
@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @gpshead for commit 668559c 🤖

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.14bugs and security fixesdocsDocumentation in the Doc dirstdlibStandard Library Python modules in the Lib/ directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@gpshead@bedevere-bot@ericsnowcurrently@hugovk