[issue14700] Integer overflow in classic string formatting

Serhiy Storchaka report at bugs.python.org
Mon Apr 30 20:13:00 CEST 2012


Serhiy Storchaka <storchaka at gmail.com> added the comment:

> Your patch should also address possible overflow of the addition.

Here there is no overflow. The patch limits prec of a little stronger
(instead of 2147483647 to 2147483639 on a 32-bit platform).

----------

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


More information about the Python-bugs-list mailing list