You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When comparing a member of StrEnum to a string, it seems that Mypy assumes that the check is always False and does not type-check code under the condition.
Activity
A5rocks commentedon Mar 17, 2025
cc @sobolevn maybe
Rework narrowing logic for equality and identity (python#20492)