[issue14700] Integer overflow in classic string formatting
Mark Dickinson
report at bugs.python.org
Mon Apr 30 20:04:13 CEST 2012
Mark Dickinson <dickinsm at gmail.com> added the comment:
> But it has to happen on any platform
> with a 32-bit integer
Not necessarily: it's undefined behaviour, so the compiler can do as it wishes.
Your patch should also address possible overflow of the addition.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14700>
_______________________________________
More information about the Python-bugs-list
mailing list