[issue11564] pickle not 64-bit ready
Antoine Pitrou
report at bugs.python.org
Thu Mar 17 00:27:04 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> I don't think so. OverflowError is a subclass of ArithmeticError and
> is raised when result of an arithmetic operation cannot be represented
> by the python type. For example,
If you grep for OverflowError in the C code base, you'll see that it is
in practice used for the present kind of error. Examples:
- "signed short integer is less than minimum"
- "%c arg not in range(0x110000)"
- "size does not fit in an int"
- "module name is too long"
- "modification time overflows a 4 byte field"
- "range too large to represent as a range_iterator"
- "Python int too large to convert to C size_t"
(at this point I am bored of pasting examples but you get the point)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11564>
_______________________________________
More information about the Python-bugs-list
mailing list