Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-95754: Better error when script shadows a standard library or third party module#113769
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
afe03daae438a409335917f24b99f0736725e229684db6e6cc8864e42150dc50e1e3d82486d009f0955d24ccd8a47d7f6c5c0991ddec51f3a32411bc1b79fa1feabb0eaf08acd9eb42469df558ef30d33f1c9ee9a588c15ea0d2ad61b5517a6b3d83fe2506809813025069b989977ceaf7422613d205f38654c5c146d394a38bad5822d8eb3ec37d1a87a91d64bb4fd786b74ed7f1bc0e55576da3888873d36032616ced2afbcd402890b6b1d65725300c557File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Improve the error message when a script shadowing a module from the standard | ||
| library causes :exc:`AttributeError` to be raised. Similarly, improve the error | ||
| message when a script shadowing a third party module attempts to access an | ||
| attribute from that third party module while still initialising. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.