Message131196
> 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) |
|
Date |
User |
Action |
Args |
2011-03-16 23:27:04 | pitrou | set | recipients:
+ pitrou, amaury.forgeotdarc, belopolsky, alexandre.vassalotti, nyevik |
2011-03-16 23:27:04 | pitrou | link | issue11564 messages |
2011-03-16 23:27:04 | pitrou | create | |
|