New submission from Ethan Furman <et...@stoneleaf.us>:
Finish the work started in issue43945 -- in 3.12 `format()` now uses the enum member itself instead of its `value`; e.g.: >>> class Color(int, Enum): ... RED = 1 >>> f"{Color.RED}" 'RED' >>> f"{Color.RED:d}" '1' ---------- assignee: ethan.furman messages: 396098 nosy: ethan.furman priority: normal severity: normal status: open title: Finish format() change started in issue43945 type: behavior _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44457> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com