[issue44242] enum.IntFlag regression: missing values cause TypeError

Ethan Furman report at bugs.python.org
Wed May 26 17:56:03 EDT 2021


Ethan Furman <ethan at stoneleaf.us> added the comment:

Yes, that would be best practice.

However, if the user is interfacing with other software/hardware, they may not have a choice on which bits make up the mask.

----------

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


More information about the Python-bugs-list mailing list