-
-
Notifications
You must be signed in to change notification settings - Fork 32k
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
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.
There was a problem hiding this 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!
Thanks @digitalfotografen for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…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]>
…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]>
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. |
…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]>
…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]>
…bjects are pickled. (pythonGH-121686) Added explicit comments about that objects are pickled when transmitted via multiprocessing queues and pipes.
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/