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: Add additional unit tests for callingrepr() on a namespace package#112475
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
Removingthat test makes sense, since the test you add here covers that bit and the former is a bit out of place. |
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.
mostly LGTM
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
When you're done making the requested changes, leave the comment: |
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.
Also, s/"/'/g
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
…rilyCo-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Thanks! I have made the requested changes; please review again |
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
Thanks@AlexWaygood for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…namespace package (pythonGH-112475)(cherry picked from commitcf20540)Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
GH-112480 is a backport of this pull request to the3.12 branch. |
Thanks for working on this,@AlexWaygood! |
You're very welcome! :D |
…namespace package (python#112475)Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
…namespace package (python#112475)Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
Addressing@ericsnowcurrently's post-merge review at#112425 (comment). I've verified locally that the second test here fails if you build CPython withe954ac7 (the commit prior to0622839).
@ericsnowcurrently, would you also like me to remove the test I added in0622839, or is that okay to stay? :)
ModuleType.__repr__can fail on py312+ #112414