Long overflow problem

Erik Max Francis max at alcyone.com
Wed Nov 6 15:30:04 EST 2002


Tom wrote:

> OverflowError: Long int too long to convert to int.
> 
> I can't seem to get myFunc to understand that i and j are long
> integers.
> How would I go about doing this?

Somewhere in myFunc, you're either explicitly or implicitly attempting
to convert a long to an int.  Without seeing the code we can't tell you
where.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ We are victims of our circumstance.
\__/ Sade Adu
    Crank Dot Net / http://www.crank.net/
 Cranks, crackpots, kooks, & loons on the Net.



More information about the Python-list mailing list