gh-84559: Change the multiprocessing start method default to `forkserver` by gpshead · Pull Request #101556 · python/cpython · GitHub

github.com

Tin mới

gpshead:multiprocessing/default-start-method-3.14

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

multiprocessing's default posix start method of 'fork' is broken: change to `'forkserver' || 'spawn' #84559

: Change the default multiprocessing start method.

awaiting core review

awaiting core review

Merge branch 'main' into multiprocessing/default-start-method-3.14

📜🤖 Added by blurb_it.

Merge branch 'main' into multiprocessing/default-start-method-3.14

Update module docs.

Merge branch 'main' into multiprocessing/default-start-method-3.14

What's New + issue ref fix.

View reviewed changes

elif vs if makes a difference...

simplify the default selection logic.

typo fix in NEWS Co-authored-by: Hugo van Kemenade <[email protected]>

Better explain test logic with comments.

Make an explanatory comment more clear.

minor NEWS wording improvement. line length.

View reviewed changes

Learn more about hiding disruptive comments

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

🔨 test-with-buildbots

🔨 test-with-buildbots

Why is bench_mp_pool so much slower from CPython 3.12 onwards? faster-cpython/benchmarking-public#43

Fallback to spawn as mp start method when otherwise not compatible emmett-framework/granian#703

Potential performance regression with Python 3.14 bench_mp_pool on Linux #139881

perf(arb): fix event-loop starvation — compute 11s → 300ms bashyrov/wallet-monitor#104