[Python-Dev] Python 2.6: OverflowError: signed integer is greater than maximum

"Martin v. Löwis" martin at v.loewis.de
Mon Nov 9 23:23:11 CET 2009


> I may well be barking up the wrong tree here, but as a first guess
> it looks as though something in the _PySys_Init function in
> Python/sysmodule.c is (directly or indirectly) causing the
> OverflowError to be raised. 

My theory would be different. There is a pending unchecked OverflowError
before the import, and the err-occurred check after the import picks it
up.

Of course, your guess is as good as mine.

While barking up trees: My guess is that it's a compiler bug (i.e. the
compiler generating bad code).

Regards,
Martin


More information about the Python-Dev mailing list