Overflow error when printing long values

Ignacio Vazquez-Abrams ignacio at openservices.net
Fri Aug 31 09:32:49 CEST 2001

On Fri, 31 Aug 2001, Michael Teo wrote:

> Thanks for your help.
> However, I noticed that Python 2.1 does not give a trailing 'L' for str(l).
> Is there any solution which will work well for Python 1.5.2 and Python 2.1 ?

if s[-1]=='L':

Ignacio Vazquez-Abrams  <ignacio at openservices.net>

More information about the Python-list mailing list