@monorail to be fair a lot of dunderscore shit is fucked up and weird in python (i love dunderscore python shit)
@monorail in 3.12?
@wallhackio in python in general. that's what in
"always" does (with the usual caveats about stuff that's defined in C rather than raw python, etc)
for some reason, before 3.12, Enum__contains__
raises a ValueError
if a non-enum-member is passed in
@monorail i love python
@wallhackio me too :3
@wallhackio when you write
a in b
, what that "really" means isb.__contains__(a)