Skip to content

Comments

Narrow Callable generic return types#20868

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

Narrow Callable generic return types#20868
hauntsaninja wants to merge 1 commit intopython:masterfrom
hauntsaninja:narrow95

Conversation

@hauntsaninja
Copy link
Collaborator

@hauntsaninja hauntsaninja commented Feb 23, 2026

Requires #20864 to be merged to work
Fixes #20628

@github-actions
Copy link
Contributor

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.

Regression with narrowing with TypeVar intersection

1 participant