[issue44457] Finish format() change started in issue43945

2021-06-18 Thread Ethan Furman
New submission from Ethan Furman : 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' -- assign

[issue44457] Finish format() change started in issue43945

2021-06-18 Thread Ethan Furman
Change by Ethan Furman : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m