[issue16772] int() accepts float number base
Serhiy Storchaka
report at bugs.python.org
Wed Dec 26 16:11:09 CET 2012
Serhiy Storchaka added the comment:
Why does PyNumber_AsSsize_t() used instead PyLong_AsLongAndOverflow()? The range of "long" enough for all valid values of "base" and code with PyLong_AsLongAndOverflow() produces better error messages. It looks as a regression for me.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16772>
_______________________________________
More information about the Python-bugs-list
mailing list