How to get rid of FutureWarning: hex/oct constants...
grante at visi.com
Fri Mar 25 00:21:39 CET 2005
How do I get rid of the following warning?
<path>.py:233: FutureWarning: hex/oct constants > sys.maxint will return positive values in Python 2.4 and up
I tried using 0xc0047a80L. That got rid of the warning, but
then I got an exception when fcntl.ioctl() was called because
the long int was too large to be converted to an int.
Grant Edwards grante Yow! I'm losing my
at hair...did it go to
visi.com ATLANTIC CITY??
More information about the Python-list