Message396790
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. |
|
Date |
User |
Action |
Args |
2021-06-30 18:59:25 | mscuthbert | set | recipients:
+ mscuthbert, barry, rhettinger, scoder, ezio.melotti, mrabarnett, eli.bendersky, ethan.furman, serhiy.storchaka, The Compiler, veky |
2021-06-30 18:59:25 | mscuthbert | set | messageid: <1625079565.35.0.037087993883.issue40066@roundup.psfhosted.org> |
2021-06-30 18:59:25 | mscuthbert | link | issue40066 messages |
2021-06-30 18:59:25 | mscuthbert | create | |
|