Skip to content

Include walrus assignments in conditional inference - #19038

Merged
hauntsaninja merged 3 commits into
python:masterfrom
sterliakov:bugfix/gh-19036-walrus-conditions
May 31, 2025
Merged

Include walrus assignments in conditional inference#19038
hauntsaninja merged 3 commits into
python:masterfrom
sterliakov:bugfix/gh-19036-walrus-conditions

Conversation

@sterliakov

Copy link
Copy Markdown
Collaborator

Fixes #19036.

@github-actions

This comment has been minimized.

@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.

Type narrowing not performed in walrus operator conditional

3 participants