[docs] [issue21559] OverflowError should not happen for integer operations

Terry J. Reedy report at bugs.python.org
Fri May 23 23:18:44 CEST 2014


Terry J. Reedy added the comment:

In 2.7, it was only *long integers* that could not overflow. In both python 2 and 3, the comment only applys to operations on integers and not to integers converted to floats. Perhaps that could be clarified. If have any example from running Python where (long) integer operations raising OverflowError and there is no issue about the bug, please open one. If there are any issues that describe such exceptions as not bugs, please list them also.

----------
nosy: +terry.reedy

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


More information about the docs mailing list