[issue18738] String formatting (% and str.format) issues with Enum

Ethan Furman report at bugs.python.org
Wed Aug 21 14:26:33 CEST 2013


Ethan Furman added the comment:

Serhiy Storchaka added the comment:
>
> I'm proposing to split this issue on two issues. One for C-style formatting (I guess everyone agree that '%i' % <int-like object> should return decimal representation of its numerical value) and other for format() which is more questionable.

Not sure that's necessary.  The code to fix the C-style %-formatting is 
already (I think)  in the last patch I attached.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18738>
_______________________________________


More information about the Python-bugs-list mailing list