-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Remove @builtinclass #599
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
Comments
If I am not mistaken, it can be removed right now. No test demonstrate a need for it. The only use of this information inside mypy (through - if base.defn.is_builtinclass:
+ if base.defn.fullname == 'builtins.object': passes all the tests[2], except the whitebox-test testBuiltinclassDecorator in [1] It resides on |
Thanks for investigating! Sounds like a small patch with that cleanup would be great. |
Following #599. (As a followup, we should remove it from typeshed too.)
Let's leave this open until it's also removed from typeshed (two lines). |
The PEP 484 draft doesn't have
@builtinclass
, so remove it. Alternatively, figure out an alternative way of encoding this information.The text was updated successfully, but these errors were encountered: