[issue16772] int() accepts float number base

Gregory P. Smith report at bugs.python.org
Wed Dec 26 07:45:49 CET 2012


Gregory P. Smith added the comment:

Thanks for the pointer to round(). PyNumber_AsSsize_t was just what the doctor ordered.

PS Grump acknowledged and accepted.  Its trunk and we're nowhere near a freeze so I figured it'd be fine to iterate on it in trunk if needed.

----------

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


More information about the Python-bugs-list mailing list