You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would rather classify this as a feature (especially taking into account that TypedDict still doesn't have its PEP). Anyway, I believe this is something important to have.
Expand and type check TypedDict types when used as **kwargs in calls.
Also refactored the implementation of checking function arguments and
removed some apparently useless code.
Fixes#5198 and another related issue: type checking calls with multiple
*args arguments.
I'm not sure if this should be classified as a missing feature or a bug, but the behavior of the following program is surprising to me:
Mypy currently reports no errors with this program; I think we should report an error with the last two calls.
(I'm assuming we're currently ignoring the 'shape' of the TypedDicts and are handling them in the same way we handle Dict?)
The text was updated successfully, but these errors were encountered: