[Python-Dev] int/long FutureWarning

Martin v. Loewis martin@v.loewis.de
28 Nov 2002 00:14:36 +0100


"Mark Hammond" <mhammond@skippinet.com.au> writes:

> Any suggestions for me?

There is no solution to this problem yet. If you add an L to the
constant (or if it becomes positive in Python 2.4), you can't pass it
to the "i" format to anymore, as it will cause an OverflowError.

Suppressing the warning now will only defer the problem to the future.

Regards,
Martin