-
-
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
Maximum recursion depth when using ParamSpec/Concatenate #15388
Labels
Comments
The crash specifically also gets fixed by #15272 (yay 🎉) -- nvm I finally read through the example, mypy's behavior on it makes sense. Assign it to another variable name e.g. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Crash Report
I've been trying to annotate some decorators using
ParamSpec
/Concatenate
and got mypy to segfault. In particular was trying to improve type annotations for https://github.com/python/typeshed/blob/main/stubs/decorator/decorator.pyi -- currently they are a bit too genericTraceback
No traceback on latest stable mypy, just segfault
If I use
master
on mypy playground I get INTERNAL_ERROR and this:To Reproduce
Reproduces in https://mypy-play.net/?mypy=master&python=3.11&flags=show-traceback
Your Environment
Segfaults on latest stable mypy (
1.3.0
) regardless python version (tried 3.10/3.11/3.12)INTERNAL_ERROR
onmaster
mypyThe text was updated successfully, but these errors were encountered: