← 返回首页
gh-84559: Change the multiprocessing start method default to `forkserver` by gpshead · Pull Request #101556 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

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 commented Feb 4, 2023
edited
Loading

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 marked this pull request as ready for review September 24, 2024 21:24
gpshead requested a review from hugovk September 24, 2024 21:25
gpshead changed the title gh-84559: multiprocessing start method default away from fork gh-84559: Change the multiprocessing start method default to forkserver Sep 24, 2024
gpshead 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 thread Misc/NEWS.d/next/Library/2024-09-19-00-09-48.gh-issue-84559.IrxvQe.rst Outdated Show resolved Hide resolved

gpshead commented Sep 25, 2024

Copy link
Copy Markdown
Member Author

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

ericsnowcurrently 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

LGTM

Thanks for following this through!

Comment thread Lib/test/support/__init__.py Show resolved Hide resolved
Comment thread Lib/test/_test_multiprocessing.py Show resolved Hide resolved
gpshead added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Sep 26, 2024

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.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.14 bugs and security fixes docs Documentation in the Doc dir stdlib Standard Library Python modules in the Lib/ directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Footer

© 2026 GitHub, Inc.