[issue37479] IntEnum __format__ behavior can't be overridden through __str__

Ethan Furman report at bugs.python.org
Thu Jul 4 14:29:02 EDT 2019


Ethan Furman <ethan at stoneleaf.us> added the comment:


New changeset 2f19e82fbe98ce86bcd98a176328af2808b678e8 by Ethan Furman (thatneat) in branch 'master':
bpo-37479: on Enum subclasses with mixins, __format__ uses overridden __str__ (GH-14545)
https://github.com/python/cpython/commit/2f19e82fbe98ce86bcd98a176328af2808b678e8


----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37479>
_______________________________________


More information about the Python-bugs-list mailing list