[issue19995] hex() and %x, oct() and %o do not behave the same
Antoine Pitrou
report at bugs.python.org
Mon Dec 16 21:24:40 CET 2013
Antoine Pitrou added the comment:
I'm with Guido: it doesn't really make sense to allow __index__ but not __int__ on a type. So trying __index__ in str.format() sounds like a distraction.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19995>
_______________________________________
More information about the Python-bugs-list
mailing list