[issue14700] Integer overflow in classic string formatting
Serhiy Storchaka
report at bugs.python.org
Sun Oct 7 22:27:56 CEST 2012
Serhiy Storchaka added the comment:
Only one comment. test_formatting_huge_precision should use not sys.maxsize, but _testcapi.INT_MAX. Other tests can use _testcapi.PY_SSIZE_T_MAX.
I think this tests are worth to add for 3.3 and 3.4. Your old test for this bug (064c2d0483f8) actually does not test the bug on all plathforms.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14700>
_______________________________________
More information about the Python-bugs-list
mailing list