Message400212
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? |
|
Date |
User |
Action |
Args |
2021-08-24 14:53:16 | David Rebbe2 | set | recipients:
+ David Rebbe2, veky |
2021-08-24 14:53:16 | David Rebbe2 | set | messageid: <1629816796.84.0.910108030283.issue44993@roundup.psfhosted.org> |
2021-08-24 14:53:16 | David Rebbe2 | link | issue44993 messages |
2021-08-24 14:53:16 | David Rebbe2 | create | |
|