Author veky
Recipients barry, eli.bendersky, ethan.furman, ezio.melotti, mrabarnett, serhiy.storchaka, veky
Date 2020-09-14.22:31:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
If it's considered to be not too backwards-incompatible, I think it would be nice to have str different from repr. That way we can finetune what exactly we need. But we can already do almost exactly that with *int* instead of *str*, so it's not too compelling.

Much more important thing is the "repr as inverse of eval". Is there any way we can have that for our own enums (as a mixin or a decorator)?

    class RegexFlag(Enum):

It would be fantastic. :-)
Date User Action Args
2020-09-14 22:31:43vekysetrecipients: + veky, barry, ezio.melotti, mrabarnett, eli.bendersky, ethan.furman, serhiy.storchaka
2020-09-14 22:31:43vekysetmessageid: <>
2020-09-14 22:31:43vekylinkissue40066 messages
2020-09-14 22:31:43vekycreate