Skip to content

Conversation

@YvesDup
Copy link
Contributor

@YvesDupYvesDup commented Jul 26, 2025

This note explains the implications between the location of the function or callable object passed to the target argument and the selected start method when you create a new Process object in a REPL session.

I wonder if I have to add a reference to the issue at end of the note..

This should be backport to: 3.14


📚 Documentation preview 📚: https://cpython-previews--137118.org.readthedocs.build/

@gpsheadgpshead added the needs backport to 3.14 bugs and security fixes label Jul 27, 2025
@gpshead
Copy link
Member

Thanks! I took this and started looking around the docs to tie things together. reworded now, with cross references.

@gpsheadgpshead self-assigned this Jul 27, 2025
@gpsheadgpshead added the needs backport to 3.13 bugs and security fixes label Jul 27, 2025
@gpsheadgpsheadforce-pushed the Update-doc-process-target-location branch from 83344ec to b9773c7CompareJuly 27, 2025 18:59
@gpsheadgpshead changed the title gh-132898: Add a note in multiprocessing.Process class documentation about how creating a process in a REPL sessiongh-132898: Add a note in multiprocessing.Process docs about creating a process in a REPL sessionJul 27, 2025
@gpsheadgpshead merged commit 4e40f2b into python:mainJul 27, 2025
25 checks passed
@miss-islington-app
Copy link

Thanks @YvesDup for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@github-project-automationgithub-project-automationbot moved this from Todo to Done in Docs PRsJul 27, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 27, 2025
…reating a process in a REPL (pythonGH-137118) * Reword, expand, and clarify the limitation, highlighting the REPL case. * Mention in the high level Process description. * added a pointer to the GH issue from the doc note --------- (cherry picked from commit 4e40f2b) Co-authored-by: Duprat <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 27, 2025
…reating a process in a REPL (pythonGH-137118) * Reword, expand, and clarify the limitation, highlighting the REPL case. * Mention in the high level Process description. * added a pointer to the GH issue from the doc note --------- (cherry picked from commit 4e40f2b) Co-authored-by: Duprat <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
@bedevere-app
Copy link

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

@bedevere-appbedevere-appbot removed the needs backport to 3.14 bugs and security fixes label Jul 27, 2025
@bedevere-app
Copy link

GH-137155 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13 bugs and security fixes label Jul 27, 2025
gpshead added a commit that referenced this pull request Jul 27, 2025
…creating a process in a REPL (GH-137118) (#137155) gh-132898: Add a note in `multiprocessing.Process` docs about creating a process in a REPL (GH-137118) * Reword, expand, and clarify the limitation, highlighting the REPL case. * Mention in the high level Process description. * added a pointer to the GH issue from the doc note --------- (cherry picked from commit 4e40f2b) Co-authored-by: Duprat <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
@YvesDupYvesDup deleted the Update-doc-process-target-location branch July 27, 2025 20:34
hugovk pushed a commit that referenced this pull request Jul 28, 2025
…creating a process in a REPL (GH-137118) (#137154) Co-authored-by: Duprat <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
@YvesDupYvesDup restored the Update-doc-process-target-location branch July 29, 2025 20:13
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
…reating a process in a REPL (pythonGH-137118) * Reword, expand, and clarify the limitation, highlighting the REPL case. * Mention in the high level Process description. * added a pointer to the GH issue from the doc note --------- Co-authored-by: Gregory P. Smith <[email protected]>
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
…about creating a process in a REPL (pythonGH-137118) (python#137154) Co-authored-by: Duprat <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
@YvesDupYvesDup deleted the Update-doc-process-target-location branch September 18, 2025 09:52
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants

@YvesDup@gpshead