Skip to content

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

Merged
merged 1 commit into from
Jul 16, 2025

Conversation

bswck
Copy link
Contributor

@bswck bswck commented Jul 16, 2025

Llet me know if some rewording is needed :)


📚 Documentation preview 📚: https://cpython-previews--136704.org.readthedocs.build/

Copy link
Member

@ZeroIntensity ZeroIntensity left a 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.

@bswck bswck force-pushed the document-reload-is-thread-unsafe branch from 2d580d3 to 9ab8ae3 Compare July 16, 2025 10:48
@ZeroIntensity ZeroIntensity merged commit 69d8fe5 into python:main Jul 16, 2025
60 of 64 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jul 16, 2025
@miss-islington-app
Copy link

Thanks @bswck for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 16, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 16, 2025
@bedevere-app
Copy link

bedevere-app bot commented Jul 16, 2025

GH-136723 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jul 16, 2025
@bedevere-app
Copy link

bedevere-app bot commented Jul 16, 2025

GH-136724 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 16, 2025
ZeroIntensity pushed a commit that referenced this pull request Jul 16, 2025
…()` (GH-136704) (GH-136723)

gh-126548: Add a thread-unsafety warning for `importlib.reload()` (GH-136704)
(cherry picked from commit 69d8fe5)

Co-authored-by: Bartosz Sławecki <[email protected]>
ZeroIntensity pushed a commit that referenced this pull request Jul 16, 2025
…()` (GH-136704) (GH-136724)

gh-126548: Add a thread-unsafety warning for `importlib.reload()` (GH-136704)
(cherry picked from commit 69d8fe5)

Co-authored-by: Bartosz Sławecki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants