hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
John Baxter
jwbaxter at spamcop.net
Wed Nov 6 17:41:25 EST 2002
In article <slrnasj332.v3h.jon+usenet at snowy.squish.net>,
Jon Ribbens <jon+usenet at unequivocal.co.uk> wrote:
> I don't really like the idea of hacking around with the warning
> module, so I guess I'll replace 0x80000000 with (-0x7fffffff-1) which
> won't generate a warning on any version of Python and will work on all
> versions... I think ;-)
64bit integers?
--John
More information about the Python-list
mailing list