Skip to content

Model tuple type aliases better#20967

Draft
hauntsaninja wants to merge 1 commit intopython:masterfrom
hauntsaninja:narrow111
Draft

Model tuple type aliases better#20967
hauntsaninja wants to merge 1 commit intopython:masterfrom
hauntsaninja:narrow111

Conversation

@hauntsaninja
Copy link
Collaborator

@hauntsaninja hauntsaninja commented Mar 4, 2026

Fixes #17133 (surprising number of upvotes, but maybe people are mistriaging, e.g. the other comment in #17133 is something else that I fixed in #20872)

@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

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

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.

Restrictions on class patterns (match statement) are too strict / (possible cause: too eager to alias types)

1 participant