-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
(🐞) Enum.name
is Any
in 3.11
#7564
Comments
I guess mypy doesn't understand the |
Is that intrinsic and needs to be special cased, or should it be handled by default? |
It's an alias for |
Thanks, I'll raise it with mypy, should we close this? |
It does on main, maybe you have an old 3.11 checkout. |
I had my 3.10 venv active 😳 |
For Sound good? |
mypy has a bug when running on/for 3.11 which results in incorrect analysis of the codebase, specifically due to enum.Enum's self.name See: python/typeshed#7564 python/mypy#12483
mypy has a bug when running on/for 3.11 which results in incorrect analysis of the codebase, specifically due to enum.Enum's self.name See: python/typeshed#7564 python/mypy#12483
mypy has a bug when running on/for 3.11 which results in incorrect analysis of the codebase, specifically due to enum.Enum's self.name See: python/typeshed#7564 python/mypy#12483
Not 100% sure if this is a mypy issue or a typeshed issue,
The text was updated successfully, but these errors were encountered: