gh-125714: Doc: Explain that multiprocessing only supports unpicklable functions through the fork method#125750
Closed
progval wants to merge 7 commits intopython:mainfrom
Closed
gh-125714: Doc: Explain that multiprocessing only supports unpicklable functions through the fork method#125750progval wants to merge 7 commits intopython:mainfrom
progval wants to merge 7 commits intopython:mainfrom
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: |
Author
|
Is it possible to skip the CLA for such a small change? |
Contributor
|
You must sign the CLA, which gives us permission to distribute your work. |
Co-authored-by: Jelle Zijlstra <[email protected]>
Member
|
I am afraid you will have to sign the CLA. |
Author
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. |
Contributor
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.
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/