gh-132898: Add a note in `multiprocessing.Process` docs about creating a process in a REPL session by YvesDup · Pull Request #137118 · python/cpython · GitHub

github.com

Tin mới

YvesDup:Update-doc-process-target-location

miss-islington-app

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

REPL: AttributeError: module __mp_main__ has no attribute is_prime in ProcessPoolExecutor example #132898

@github-project-automation

@github-project-automation

Merge branch 'main' into Update-doc-process-target-location

needs backport to 3.14

needs backport to 3.14

Reword, expand, and clarify the limitation, highlighting the REPL case.

needs backport to 3.13

needs backport to 3.13

Move out of a .. note into the main text. mention in the high level P…

move back to a note, it keeps it clear that this is "special"

editing for clarity

View reviewed changes

add a pointer to the GH issue from the doc note

multiprocessing.Process

multiprocessing.Process

bedevere-app Bot commented Jul 27, 2025

bedevere-app Bot commented Jul 27, 2025

GH-137154 is a backport of this pull request to the 3.14 branch.

multiprocessing.Process

[3.14] gh-132898: Add a note in `multiprocessing.Process` docs about creating a process in a REPL (GH-137118) (#137154) Co-authored-by: Duprat <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>

multiprocessing.Process

[3.14] gh-132898: Add a note in `multiprocessing.Process` docs about creating a process in a REPL (GH-137118) (#137154) Co-authored-by: Duprat <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>