Skip to content

Conversation

@hyperkai
Copy link
Contributor

Fixes: #20679

@github-actions
Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@A5rocks
Copy link
Collaborator

A5rocks commented Jan 29, 2026

Could you update some other error messages? e.g. ARGUMENT_TYPE_EXPECTED, UNBOUND_TYPEVAR, MISSING_OR_INVALID_SELF_TYPE, TYPE_GUARD_POS_ARG_REQUIRED in message_registry.py, I think. (Please make sure if you do update them, because I'm still not used to this semantic difference)

Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hauntsaninja hauntsaninja merged commit 185b2c9 into python:master Jan 29, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting **dict[str, int] to **kwargs gets a wrong error message, saying argument instead of parameter

3 participants