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 ethan.furman
Recipients The Compiler, barry, eli.bendersky, ethan.furman, ezio.melotti, mrabarnett, rhettinger, scoder, serhiy.storchaka, veky
Date 2021-04-13.16:44:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618332246.0.0.0960389911159.issue40066@roundup.psfhosted.org>
In-reply-to
Content
Thank you for the feedback.  

The new str() and repr() make more sense for Flag-based enumerations, and I'm hesitant to have different formats for Enum- vs Flag-based enums.

Would it be helpful to have another base Enum class to derive from that maintained the original str() and repr() formats?
History
Date User Action Args
2021-04-13 16:44:06ethan.furmansetrecipients: + ethan.furman, barry, rhettinger, scoder, ezio.melotti, mrabarnett, eli.bendersky, serhiy.storchaka, The Compiler, veky
2021-04-13 16:44:06ethan.furmansetmessageid: <1618332246.0.0.0960389911159.issue40066@roundup.psfhosted.org>
2021-04-13 16:44:05ethan.furmanlinkissue40066 messages
2021-04-13 16:44:05ethan.furmancreate