How to get rid of FutureWarning: hex/oct constants...

Grant Edwards grante at
Fri Mar 25 01:16:25 CET 2005

On 2005-03-25, Terry Reedy <tjreedy at> wrote:
> "Grant Edwards" <grante at> wrote in message 
> news:1146is3kgedf575 at
>> How do I get rid of the following warning?
> Switch to 2.4?  Or is there a command line switch to do so?

Too much work. I'd have to go upgrade a half-dozen machines.  I
guess I'll just live with the warning.  It sort of sucks that
you get warned about something which you can't fix.

>>  <path>.py:233: FutureWarning: hex/oct constants > sys.maxint will return 
>> positive values in Python 2.4 and up

Grant Edwards                   grante             Yow!  I'm CONTROLLED by
                                  at               the CIA!! EVERYONE is
                                 controlled by the CIA!!

More information about the Python-list mailing list