[issue19995] hex() and %x, oct() and %o do not behave the same

Eric V. Smith report at bugs.python.org
Mon Dec 16 18:58:04 CET 2013


Eric V. Smith added the comment:

Yes, I think adding __index__ to d, i, o, u, U, and c is the correct thing to do here.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19995>
_______________________________________


More information about the Python-bugs-list mailing list