Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-118895: Call PyType_Ready() on typing.NoDefault#118897
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
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.
This also solves multiple other issues, like:
>>>fromtypingimportNoDefault>>>NoDefault.__class__Traceback (mostrecentcalllast):File"<python-input-1>",line1,in<module>NoDefault.__class__AttributeError:'NoDefaultType'objecthasnoattribute'__class__'.Didyoumean:'__hash__'?
Thanks!
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Thanks@JelleZijlstra for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
GH-118914 is a backport of this pull request to the3.13 branch. |
Uh oh!
There was an error while loading.Please reload this page.
typing.NoDefault
raisesTypeError
, but should raiseAttributeError
#118895