KEMBAR78
Don't consider None vs IntEnum comparison ambiguous by JukkaL · Pull Request #17877 · python/mypy · GitHub
Skip to content

Conversation

@JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Oct 4, 2024

We can assume that None doesn't compare equal to an enum.

We can assume that None doesn't compare equal to an enum.
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2024

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

@JukkaL JukkaL merged commit 012d52c into master Oct 4, 2024
18 of 19 checks passed
@JukkaL JukkaL deleted the narrowing-none branch October 4, 2024 13:33
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.

2 participants