10000 gh-114763: Protect lazy loading modules from attribute access race by effigies · Pull Request #114781 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-114763: Protect lazy loading modules from attribute access race #114781

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 12 commits into from
Feb 24, 2024
Merged
Prev Previous commit
Next Next commit
Add new blurb
  • Loading branch information
effigies committed Feb 5, 2024
commit 5424d0c1c8be0a3ff296ed397b92e3412b098d0e
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Protect modules loaded with :class:`importlib.util.LazyLoader` from race
conditions when multiple threads try to access attributes before the loading
is complete.
0