Author mscuthbert
Recipients The Compiler, barry, eli.bendersky, ethan.furman, ezio.melotti, mrabarnett, mscuthbert, rhettinger, scoder, serhiy.storchaka, veky
Date 2021-06-30.18:59:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625079565.35.0.037087993883.issue40066@roundup.psfhosted.org>
In-reply-to
Content
It may be helpful for the enum module to come with transitional functions like "pre310_str()" "pre310_repr()" "pre310_flag_str()" etc. so that people who are writing doctests that need to function on both < 3.10 and 3.10+ can temporarily do a "Enum.__str__ = pre310_str" in their test suites (and of course restore it later) until <=3.9 is no longer supported.  Otherwise everyone with doctest suites will be doing this ourselves.
History
Date User Action Args
2021-06-30 18:59:25mscuthbertsetrecipients: + mscuthbert, barry, rhettinger, scoder, ezio.melotti, mrabarnett, eli.bendersky, ethan.furman, serhiy.storchaka, The Compiler, veky
2021-06-30 18:59:25mscuthbertsetmessageid: <1625079565.35.0.037087993883.issue40066@roundup.psfhosted.org>
2021-06-30 18:59:25mscuthbertlinkissue40066 messages
2021-06-30 18:59:25mscuthbertcreate