-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
gh-126548: Add a thread-unsafety warning for importlib.reload()
#136704
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
gh-126548: Add a thread-unsafety warning for importlib.reload()
#136704
Conversation
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.
LGTM. The bot seems to be acting up.
2d580d3
to
9ab8ae3
Compare
Thanks @bswck for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…)` (pythonGH-136704) (cherry picked from commit 69d8fe5) Co-authored-by: Bartosz Sławecki <[email protected]>
…)` (pythonGH-136704) (cherry picked from commit 69d8fe5) Co-authored-by: Bartosz Sławecki <[email protected]>
GH-136723 is a backport of this pull request to the 3.14 branch. |
GH-136724 is a backport of this pull request to the 3.13 branch. |
Llet me know if some rewording is needed :)
importlib.reload
is not thread-safe #126548📚 Documentation preview 📚: https://cpython-previews--136704.org.readthedocs.build/