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 barry, eli.bendersky, eric.smith, ethan.furman, serhiy.storchaka
Date 2013-08-21.00:43:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <52140D4A.2020108@stoneleaf.us>
In-reply-to <1376603210.07.0.54860483499.issue18738@psf.upfronthosting.co.za>
Content
Eli Bendersky added the comment:
>
> The whole point of IntEnum and replacing stdlib constants with it was friendly str & repr out of the box.

Sure, friendly str and repr plus an nice way to work them in code.

> This means that "just printing out" an enum member should have a nice string representation.

And when are you going to print out an enum?  Debugger and/or command line.

> And "just printing out" means:
>
> print(member)
> "%s" % member
> "{}".format(member)

Would you seriously use either of those last two in either the debugger 
or the command line?
History
Date User Action Args
2013-08-21 00:43:57ethan.furmansetrecipients: + ethan.furman, barry, eric.smith, eli.bendersky, serhiy.storchaka
2013-08-21 00:43:57ethan.furmanlinkissue18738 messages
2013-08-21 00:43:57ethan.furmancreate