[issue44993] enum.auto() starts with one instead of zero
David Rebbe
report at bugs.python.org
Tue Aug 24 13:55:54 EDT 2021
David Rebbe <ic3man5 at gmail.com> added the comment:
Welcome to enums, they don't matter until they do. I'm personally not a fan of enums for APIs but they exist all the time.
Indexing was an example case that nothing starts at 1.
See the attached file to demonstrate differences.
----------
Added file: https://bugs.python.org/file50234/enum_comparison.txt
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44993>
_______________________________________
More information about the Python-bugs-list
mailing list