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-14.22:12:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <520C00E5.1000804@stoneleaf.us>
In-reply-to <1376518000.28.0.981570167254.issue18738@psf.upfronthosting.co.za>
Content
> In order to avoid that logic, and cause more format specifiers to result in str-like behavior, we'll need to implement an __format__ somewhere (IntEnum, I guess) that makes the "int or str" decision.

If this is the way format is supposed to work, then I'll add __format__ to IntEnum with simple logic that says if not 
letter format code is present, use string formatting, otherwise use int formatting.  That should be future proof.
History
Date User Action Args
2013-08-14 22:12:54ethan.furmansetrecipients: + ethan.furman, barry, eric.smith, eli.bendersky, serhiy.storchaka
2013-08-14 22:12:54ethan.furmanlinkissue18738 messages
2013-08-14 22:12:54ethan.furmancreate