This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author David Rebbe2
Recipients David Rebbe2, veky
Date 2021-08-24.14:53:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629816796.84.0.910108030283.issue44993@roundup.psfhosted.org>
In-reply-to
Content
Understandable and I do believe IntEnum should default as zero as its the default type most will choose when trying to mimic other languages.

C/C++ has the same problem where the value isn't suppose to matter but as soon as you go across the compiled / interpreted application (libraries and network communication) the value of the enum becomes important. 

I have corrected all my code to have a "fake" value of 0 instead of using enum.auto() as the first value, but it would be nice to not have to use that workaround. Maybe a new class CIntEnum would be acceptable?
History
Date User Action Args
2021-08-24 14:53:16David Rebbe2setrecipients: + David Rebbe2, veky
2021-08-24 14:53:16David Rebbe2setmessageid: <1629816796.84.0.910108030283.issue44993@roundup.psfhosted.org>
2021-08-24 14:53:16David Rebbe2linkissue44993 messages
2021-08-24 14:53:16David Rebbe2create