OverflowError: integer multiplication
Martin von Loewis
loewis at informatik.hu-berlin.de
Tue Oct 3 18:17:53 CEST 2000
aahz at panix.com (Aahz Maruch) writes:
> In article <PkZA5.432$p4.91539 at newsr1.u-net.net>,
> Magnus Heino <magnus.heino at rivermen.se> wrote:
> >Since upgrading to Python 2.0b2, I'm getting quite a few exceptions
> >like the one below, and usualy caused by xmllib.py
> I don't see any responses to your post, so I'd say the simplest path on
> your part would be to just post a bug on Sourceforge.
Now that I see your reply :-) I had the same problem a few days
ago. It turned out that the cause was a beta version of glibc
(2.1.93), which did not properly define #INT_MAX (it was 64, due to
some unfortunate restructuring of headers). gcc would warn when
compiling Python that shifting by INT_MAX/2 has no effect; that would
screw overflow detection.
If Magnus' problem is *not* related to glibc versions, then he should
still post a bug report.
More information about the Python-list