gh-73159 Added clarifications in multiprocessing docs on that objects are pickled.#121686
Merged
gpshead merged 3 commits intopython:mainfrom Jul 13, 2024
Merged
Conversation
Added explicit comments about that objects are pickled when transmitted via multiprocessing queues and pipes.
Improved version. Tried to make it more explicit that the objects are serialized and then re-created.
gpshead
approved these changes
Jul 13, 2024
Member
gpshead
left a comment
There was a problem hiding this comment.
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!
|
Thanks @digitalfotografen for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
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 <ulrik@digitalfotografen.se>
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 <ulrik@digitalfotografen.se>
|
GH-121727 is a backport of this pull request to the 3.13 branch. |
|
GH-121728 is a backport of this pull request to the 3.12 branch. |
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 <ulrik@digitalfotografen.se>
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 <ulrik@digitalfotografen.se>
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/