-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
mypy 0.750 regression with asyncio.wait #8051
Comments
FWIW this also fails on master and Python 3.7. I wasn't able to find a simple repro not-involving |
Here I have a simple repro:
This test passes on v0.740, but fails on v0.750. The reason is subtle, but ultimately it is related to switch to the new type alias representation. The point is that
I am leaning towards first option. Also I don't really want to call |
I agree that using |
Please consider the following:
Checking this with mypy 0.740 (Python 3.8.0) without options succeeds. Checking it with mypy 0.750 (also Python 3.8.0, no options) prints the following error:
The annotation of
asyncio.wait()
from typeshed has not changed between mypy versions:The text was updated successfully, but these errors were encountered: