[issue16772] int() accepts float number base

Chris Jerdonek report at bugs.python.org
Fri Dec 28 11:36:27 CET 2012


Chris Jerdonek added the comment:

> I actually think this issue can be closed as fixed:  the current code looks fine to me, and I don't think the fix should be backported.

How about backporting the tests?  In addition to adding tests for the fix, Greg added more comprehensive tests for the existing behavior (i.e. test_int_base_limits()).  Backporting the latter would help prevent regressions from future fixes in earlier versions.

Also, if we don't backport shouldn't there be a version changed in the docs?

----------

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


More information about the Python-bugs-list mailing list