-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
More actionable error message when spawn is incorrectly used. #102203
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
Can I get a reviewer? Thanks |
@serhiy-storchaka What do you think? |
This is effectively a documentation change. It's an error message that should not be seen often, but is intended to tell people how to fix their code so they don't hit the error. Expanding on it and linking back to the multiprocessing docs seems fine to me, even if unusual. |
GH-107990 is a backport of this pull request to the 3.12 branch. |
GH-107991 is a backport of this pull request to the 3.11 branch. |
…GH-102203) (cherry picked from commit a794ebe) Co-authored-by: Yuxin Wu <[email protected]> Co-authored-by: Yuxin Wu <[email protected]> Co-authored-by: Oleg Iarygin <[email protected]>
…GH-102203) (cherry picked from commit a794ebe) Co-authored-by: Yuxin Wu <[email protected]> Co-authored-by: Yuxin Wu <[email protected]> Co-authored-by: Oleg Iarygin <[email protected]>
…H-102203) (#107991) More actionable error message when spawn is incorrectly used. (GH-102203) (cherry picked from commit a794ebe) Co-authored-by: Yuxin Wu <[email protected]> Co-authored-by: Yuxin Wu <[email protected]> Co-authored-by: Oleg Iarygin <[email protected]>
…H-102203) (#107990) More actionable error message when spawn is incorrectly used. (GH-102203) (cherry picked from commit a794ebe) Co-authored-by: Yuxin Wu <[email protected]> Co-authored-by: Yuxin Wu <[email protected]> Co-authored-by: Oleg Iarygin <[email protected]>
Users of my library report this as an issue to my project when they encounter this error. The error message can be made more actionable - pointing them to a more detailed documentation that explains the fix.