-
-
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
Now *CustomType
and **CustomType
arguments are properly checked
#11151
Conversation
**CustomType
argument is properly checked*CustomType
and **CustomType
argument is properly checked
*CustomType
and **CustomType
argument is properly checked*CustomType
and **CustomType
arguments are properly checked
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, this was a pretty bad gap in type checking. Left a few comments (not a full review).
Ok, I am adding #11138 support, it will require a couple of hours. |
@hauntsaninja any ideas why |
Just pushed a fix... @msullivan 's hack for edgedb in mypy_primer ended up breaking |
@hauntsaninja thank you! 🚀 |
@JukkaL @hauntsaninja is there anything else I can do to get this merged? Today we got another bugreport about this: #11375 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this is great!
Wish it was nicer to get the mapping and iterable types
This PR fixed an issue in an internal repo that I just encountered when testing the 0.920 release |
Awesome! 🎉 |
The thing about this patch is that
ArgTypeExpander
neededmapping_type
anditerable_type
for checking*
and**
arguments.But, this context was not provided.
I've also fixed a bunch of related
TODO
items.Closes #11144
Closes #11138
Closes #11375