Skip to content

Fix truthy-bool checks for fixed width integers - #21900

Merged
hauntsaninja merged 1 commit into
python:masterfrom
hauntsaninja:i64bool
Aug 28, 2026
Merged

Fix truthy-bool checks for fixed width integers#21900
hauntsaninja merged 1 commit into
python:masterfrom
hauntsaninja:i64bool

Conversation

@hauntsaninja

Copy link
Copy Markdown
Collaborator

Fixes #21898

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

@hauntsaninja
hauntsaninja merged commit b974556 into python:master Aug 28, 2026
25 checks passed
@hauntsaninja
hauntsaninja deleted the i64bool branch August 28, 2026 01:13
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.

i64 could always be true

1 participant