Understanding (and getting rid) of optparse.py:668: FutureWarning: %u/%o/%x/%X of negative int will return a
hofer
blabla at dungeon.de
Fri Sep 26 13:41:40 EDT 2008
More information about the Python-list mailing list
Fri Sep 26 13:41:40 EDT 2008
- Previous message (by thread): Understanding (and getting rid) of optparse.py:668: FutureWarning: %u/%o/%x/%X of negative int will return a
- Next message (by thread): Matplotlib Polar Plot Angles/Axes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sep 26, 6:21 pm, Peter Otten <__pete... at web.de> wrote: > hofer wrote: > > Hi, > > > I get following warning with a python script: > > > optparse.py:668: FutureWarning: %u/%o/%x/%X of negative int will > > return a signed string in Python 2.4 and up > > You can print options.__dict__ instead of options with little loss of > information, or turn the warning off > > python -Wignore::FutureWarning myscript.py > > Peter Thanks a lot Peter, Any trick to disable warnings just for a given range of code? bye H
- Previous message (by thread): Understanding (and getting rid) of optparse.py:668: FutureWarning: %u/%o/%x/%X of negative int will return a
- Next message (by thread): Matplotlib Polar Plot Angles/Axes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list