-
-
Notifications
You must be signed in to change notification settings - Fork 2.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 final checking false positive in complex case #11702
Labels
Comments
JukkaL
added
bug
mypy got something wrong
priority-0-high
false-positive
mypy gave an error on correct code
labels
Dec 10, 2021
See https://github.com/python/mypy/pull/11579/files |
Excellent! I can review the PR early next week. |
JukkaL
pushed a commit
that referenced
this issue
Dec 21, 2021
tushar-deepsource
pushed a commit
to DeepSourceCorp/mypy
that referenced
this issue
Jan 20, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
This code generates a false positive, but weirdly I can only reproduce it if the base class is defined in a different module:
The code works at runtime.
This started happening as a side effect of #11247.
Marking as high priority, since this is a regression. If it seems clear that this may only happen in pretty specialized circumstances, we can perhaps lower the priority.
cc @sobolevn
The text was updated successfully, but these errors were encountered: