Skip to content

gh-73159 Added clarifications in multiprocessing docs on that objects are pickled. #121686

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 3 commits into from
Jul 13, 2024

Conversation

digitalfotografen
Copy link
Contributor

@digitalfotografen digitalfotografen commented Jul 13, 2024

Added explicit comments about that objects are pickled when transmitted via multiprocessing queues and pipes.
This to make it easier for those who are more used to send objects via other implementations of Python queues that they are serialized.


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

Added explicit comments about that objects are pickled when transmitted via multiprocessing queues and pipes.
@ghost
Copy link

ghost commented Jul 13, 2024

All commit authors signed the Contributor License Agreement.
CLA signed

Improved version. Tried to make it more explicit that the objects are serialized and then re-created.
Copy link
Member

@gpshead gpshead left a comment

Choose a reason for hiding this comment

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

While I might be able to nit pick on possible wordings of these, nothing I'm coming up with is significantly better than this text. This gets the point across. Thanks!

@gpshead gpshead added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Jul 13, 2024
@gpshead gpshead self-assigned this Jul 13, 2024
@gpshead gpshead merged commit b580589 into python:main Jul 13, 2024
29 checks passed
@miss-islington-app
Copy link

Thanks @digitalfotografen for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 13, 2024
…bjects are pickled. (pythonGH-121686)

Added explicit comments about that objects are pickled when transmitted via multiprocessing queues and pipes.
(cherry picked from commit b580589)

Co-authored-by: Ulrik Södergren <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 13, 2024
…bjects are pickled. (pythonGH-121686)

Added explicit comments about that objects are pickled when transmitted via multiprocessing queues and pipes.
(cherry picked from commit b580589)

Co-authored-by: Ulrik Södergren <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Jul 13, 2024

GH-121727 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 13, 2024
@bedevere-app
Copy link

bedevere-app bot commented Jul 13, 2024

GH-121728 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Jul 13, 2024
gpshead pushed a commit that referenced this pull request Jul 13, 2024
…objects are pickled. (GH-121686) (#121728)

gh-73159 Added clarifications in multiprocessing docs on that objects are pickled. (GH-121686)

Added explicit comments about that objects are pickled when transmitted via multiprocessing queues and pipes.
(cherry picked from commit b580589)

Co-authored-by: Ulrik Södergren <[email protected]>
gpshead pushed a commit that referenced this pull request Jul 13, 2024
…objects are pickled. (GH-121686) (#121727)

gh-73159 Added clarifications in multiprocessing docs on that objects are pickled. (GH-121686)

Added explicit comments about that objects are pickled when transmitted via multiprocessing queues and pipes.
(cherry picked from commit b580589)

Co-authored-by: Ulrik Södergren <[email protected]>
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…bjects are pickled. (pythonGH-121686)

Added explicit comments about that objects are pickled when transmitted via multiprocessing queues and pipes.
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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants