We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bug Report
Some latest MRs intend to make ParamSpec ignored, but do not seem to cover the use case of ParamSpec with Generic
To Reproduce
from typing import Generic from typing_extensions import ParamSpec P = ParamSpec("P") class Test(Generic[P]): pass
Expected Behavior
MyPy should detect no errors
Actual Behavior
error: Free type variable expected in Generic[...]
Your Environment
mypy 0.920+dev.9aaeef5f355509ef789dbcdca1f15793698a5960
mypy.ini
The text was updated successfully, but these errors were encountered:
Related #8645
Sorry, something went wrong.
Fixed by recent PRs
No branches or pull requests
Bug Report
Some latest MRs intend to make ParamSpec ignored, but do not seem to cover the use case of ParamSpec with Generic
To Reproduce
Expected Behavior
MyPy should detect no errors
Actual Behavior
error: Free type variable expected in Generic[...]
Your Environment
mypy 0.920+dev.9aaeef5f355509ef789dbcdca1f15793698a5960
mypy.ini
(and other config files): N/AThe text was updated successfully, but these errors were encountered: