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

Ethan Furman report at bugs.python.org
Thu Aug 15 00:47:01 CEST 2013


Ethan Furman added the comment:

Drat.  IntEnum is supposed to be a drop-in replacement for int.  I guess I'll have to consider more than just the letter 
code to decide whether to go with int.__format__ or str.__format__.

----------

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


More information about the Python-bugs-list mailing list