Build Problem-- OverflowError: integer literal too large

richard_chamberlain richard_chamberlain at ntlworld.com
Wed Jul 12 04:07:56 EDT 2000


Hi John,

The assignment below is a long not an int so you have to append an l or L on
the end.

Obviously you'll have to do this in the module as well, or find a newer
version of the module.

Richard

John Clonts <jclonts at mastnet.net> wrote in message
news:396C2422.9E281DD at mastnet.net...
> I have just installed python 1.5.2 from sources and built it for the
> first time on my Redhat 5.x system.  When trying to import module pgp I
> got a message
>
>    "OverflowError: integer literal too large"
>
> I traced it and can reproduce this error by typing interactively:
>
>     ii=4294967296
>
> (On my older python 1.3 this causes no such problem)
>
> I have searched the FAQ and have poked and pored through the install
> process, but have not come up with anything.
>
> Thanks for your help (please!) :)
>
> Cheers,
> John





More information about the Python-list mailing list