Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.1k
[PEP 695] Generate error if new-style type alias used as base class#17789
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
According tomypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅ |
spt29 commentedMar 18, 2025
Just out of curiosity: Why is this check necessary? I just came across it when trying to update old (Related issue: The new type aliases are not callable, but the old ones were. This is useful when e.g. aliasing a |
It doesn't work at runtime.