[issue33217] x in enum.Flag member is True when x is not a Flag

Peter Tönz report at bugs.python.org
Wed May 8 10:57:58 EDT 2019


Peter Tönz <rockingmountainsoundsystem at gmail.com> added the comment:

I use python 3.8.0a3 to make our testframework ready for the future.

Is it volitional that the Expression "if int in IntEnum:" raise also a TypeError?

----------
nosy: +Peter Tönz

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33217>
_______________________________________


More information about the Python-bugs-list mailing list