-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Types from the typing module that don't exist in the specified Python version are not detected by Mypy #6593
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
Thanks for reporting! But it's not a flaw in mypy itself, it's in typeshed, which has a separate repo: https://github.com/python/typeshed. Please report it there! |
These type aliases ( |
OK, reopening. |
Python 3.5 is no longer supported by mypy, and I can't reproduce this with any other aliases, so I'm closing this. |
Hello there,
I think this is not the desired behaviour of Mypy. If I set the version of Python to 3.5, it doesn't report Deque imports, even though this type only appeared in Python 3.6.
mypy.ini:
The python code:
This does not report any errors with mypy 0.670.
The text was updated successfully, but these errors were encountered: