This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients alexandre.vassalotti, amaury.forgeotdarc, belopolsky, nyevik, pitrou
Date 2011-03-16.23:27:04
SpamBayes Score 1.2852386e-11
Marked as misclassified No
Message-id <1300318021.3749.9.camel@localhost.localdomain>
In-reply-to <AANLkTimNgRJ2O6WOL03-QwB-TGBhTAG2TRr8T0jx150v@mail.gmail.com>
Content
> 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)
History
Date User Action Args
2011-03-16 23:27:04pitrousetrecipients: + pitrou, amaury.forgeotdarc, belopolsky, alexandre.vassalotti, nyevik
2011-03-16 23:27:04pitroulinkissue11564 messages
2011-03-16 23:27:04pitroucreate