hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
Martin v. Loewis
martin at v.loewis.de
Wed Nov 6 18:14:35 EST 2002
"Fredrik Lundh" <fredrik at pythonware.com> writes:
> > Write it in a platform-independent way. If you *intended* this literal to
> > mean "a 1 bit followed by 31 zero bits", then stick an L on the end of the
> > literal.
>
> ...and remove it again when you get to Python 2.5.
Why that?
Regards,
Martin
More information about the Python-list
mailing list