On 2008-10-07, Martin Geisler <[EMAIL PROTECTED]> wrote: > Grant Edwards <[EMAIL PROTECTED]> 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: >> >> /usr/lib/python2.5/site-packages/scipy/linalg/__init__.py:32: >> 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! visi.com -- http://mail.python.org/mailman/listinfo/python-list