How do you get rid of useless warnings?
grante at visi.com
Tue Oct 7 17:46:30 CEST 2008
On 2008-10-07, Martin Geisler <mg at daimi.au.dk> wrote:
> Grant Edwards <grante at visi.com> writes:
>> I'm getting awfully tired of constant warnings about what's
>> going to happen at some point in the future.
>> Warnings like this:
>> ./surfplot.py:313: Warning: 'with' will become a reserved keyword in
>> Python 2.6
>> And this:
>> DeprecationWarning: NumpyTest will be removed in the next release;
>> please update your code to use nose or unittest
>> And so on...
> Take a look at the -W command line option to python. From the
> man page:
I've -W options before without much luck, but I'll give it
another go. It certainly appears that should be the solution.
Grant Edwards grante Yow! World War III?
at No thanks!
More information about the Python-list