Skip to content

Avoid widening types in conditional_types#21242

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

Avoid widening types in conditional_types#21242
hauntsaninja wants to merge 1 commit intopython:masterfrom
hauntsaninja:mypynarrow

Conversation

@hauntsaninja
Copy link
Copy Markdown
Collaborator

Fixes #21181

Another pre-existing issue exposed by narrowing improvements

Fixes python#21181

Another pre-existing issue exposed by narrowing improvements
@github-actions
Copy link
Copy Markdown
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.

[1.20 regression] when same object is narrowed multiple times

1 participant