In message <[EMAIL PROTECTED]>, Martin Geisler wrote:
> Take a look at the -W command line option to python. From the man page:
>
> -W argument
>
> The simplest form of argument is one of the following action
> strings (or a unique abbreviation): ignore to ignore all warn-
On Tue, 07 Oct 2008 14:12:06 -0400, Terry Reedy <[EMAIL PROTECTED]> wrote:
Peter Otten wrote:
Grant Edwards wrote:
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 rese
Peter Otten wrote:
Grant Edwards wrote:
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
The "with" and "as" warnings bypass the warnin
Grant Edwards wrote:
> 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
The "with" and "as" warnings bypass the warning mechani
Grant Edwards wrote:
/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
I'm also not using "the next release" of scipy, I'm using
_this_ release of scipy. I've no
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 re
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/pyth
Grant> In the meantime, how do I get rid of this useless warning?
I thought something like this would work:
% python2.5 -W 'ignore:.*:Warning:.*:0'
Python 2.5.3a0 (release25-maint:66627M, Sep 26 2008, 14:40:24)
[GCC 4.2.2] on sunos5
Type "help", "copyright", "credits" or "lice
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:
Deprecatio