-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
gh-125714: Doc: Explain that multiprocessing only supports unpicklable functions through the fork method #125750
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
… through the fork method In multiprocessing and concurrent.futures's documentations, as well as the release notes for Python 3.14. This moves the paragraph in 3.14's release notes from the deprecations section to 'Porting to Python 3.14' because it is a breaking change, which follows a deprecation in Python 3.12. This explicitly mentions `PicklingError` in this section, so it is easy to find for somehow who gets the error and searches its name through the page.
|
The following commit authors need to sign the Contributor License Agreement: |
|
Is it possible to skip the CLA for such a small change? |
|
You must sign the CLA, which gives us permission to distribute your work. |
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.
Thanks!
Co-authored-by: Jelle Zijlstra <[email protected]>
|
I am afraid you will have to sign the CLA. |
I already did by submitting this PR after accepting Github's terms of service:
Nonetheless, I'm fine with the CLA on principle, but I'm not willing to give out the personal info the cla-bot or the form are asking for. |
In multiprocessing and concurrent.futures's documentations, as well as the release notes for Python 3.14.
This moves the paragraph in 3.14's release notes from the deprecations section to 'Porting to Python 3.14' because it is a breaking change, which follows a deprecation in Python 3.12.
This explicitly mentions
PicklingErrorin this section, so it is easy to find for somehow who gets the error and searches its name through the page._pickle.PicklingErroron 3.14.0a1+ where it didn't before due to the start method change from fork to forkserver #125714📚 Documentation preview 📚: https://cpython-previews--125750.org.readthedocs.build/