[issue44242] enum.IntFlag regression: missing values cause TypeError
Ethan Furman
report at bugs.python.org
Wed May 26 18:42:18 EDT 2021
Ethan Furman <ethan at stoneleaf.us> added the comment:
I see your point about the str/repr.
> But the class members themselves should not have that transform applied, and raise
> an error on invalid bits.
But I'm not sure I understand that. Either you are agreeing with me that we should lose the creation time check (not apply the transform), or we should still have the check (raise an error on invalid bits) which would still leave us in this situation.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44242>
_______________________________________
More information about the Python-bugs-list
mailing list