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

Antoine Pitrou report at bugs.python.org
Sun Jan 5 18:30:01 CET 2014


Antoine Pitrou added the comment:

Keep in mind that with new-style division, it's easy to get a float even if all your inputs are ints.

----------

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


More information about the Python-bugs-list mailing list