Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-112414: FixAttributeError when callingrepr() on a namespace package imported with a custom loader#112425
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 ourterms of service andprivacy 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.
Conversation
…le imported with a custom loader
AttributeError when callingrepr() on a module imported with a custom loaderAttributeError when callingrepr() on a namespace package imported with a custom loaderThere 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.
Great!
Thanks@AlexWaygood for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…space package imported with a custom loader (pythonGH-112425)(cherry picked from commit0622839)Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
GH-112440 is a backport of this pull request to the3.12 branch. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
…space package imported with a custom loader (python#112425)
…space package imported with a custom loader (python#112425)
Uh oh!
There was an error while loading.Please reload this page.
Fixes a regression introduced by#98870
ModuleType.__repr__can fail on py312+ #112414