Skip to content

Conversation

@hauntsaninja
Copy link
Collaborator

This is a follow up to #20492 that is pure refactoring. I separated it out to make that change easier to review. We inline narrow_identity_equality_comparison, improve comments, etc.

There is some further refactoring later in my commit stack too.

@github-actions
Copy link
Contributor

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

@hauntsaninja hauntsaninja merged commit 66f83ea into python:master Jan 16, 2026
23 checks passed
@hauntsaninja hauntsaninja deleted the narrow2 branch January 16, 2026 21:25
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.

1 participant