Skip to content

gh-132898: Add a note in multiprocessing.Process docs about creating a process in a REPL session #137118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 27, 2025

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 4e40f2bea7edfa5ba7e2e0e6159d9da9dfe4aa97)

Co-authored-by: Duprat <yduprat@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
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 <yduprat@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
@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 <yduprat@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
@YvesDup YvesDup deleted the Update-doc-process-target-location branch July 27, 2025 20:34
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy