[Python-Dev] format, int, and IntEnum (original) (raw)

Ethan Furman ethan at stoneleaf.us
Thu Aug 15 17:21:46 CEST 2013


Given that the !r and !s format codes can be used to get the repr and str of an IntEnum, would it be acceptable to have IntEnum's format simply pass through to int's format? And likewise with all mix-in classes?

-- Ethan



More information about the Python-Dev mailing list