Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

YvesDup
Copy link
Contributor

@YvesDup YvesDup 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/

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

gpshead commented Jul 27, 2025

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

@gpshead gpshead self-assigned this Jul 27, 2025
@gpshead gpshead added the needs backport to 3.13 bugs and security fixes label Jul 27, 2025
@gpshead gpshead force-pushed the Update-doc-process-target-location branch from 83344ec to b9773c7 Compare July 27, 2025 18:59
@gpshead gpshead changed the title gh-132898: Add a note in multiprocessing.Process class documentation about how creating a process in a REPL session gh-132898: Add a note in multiprocessing.Process docs about creating a process in a REPL session Jul 27, 2025
@gpshead gpshead merged commit 4e40f2b into python:main Jul 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-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jul 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

bedevere-app bot commented Jul 27, 2025

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

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

bedevere-app bot commented Jul 27, 2025

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

@bedevere-app bedevere-app bot 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]>
@YvesDup YvesDup 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]>
@YvesDup YvesDup 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants