[issue19995] %c, %o, %x, %X accept non-integer values instead of raising an exception

Barry A. Warsaw report at bugs.python.org
Mon Jun 22 21:46:27 CEST 2015


Barry A. Warsaw added the comment:

Fix:

>>> '%.32x' % uuid4().int

----------

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


More information about the Python-bugs-list mailing list