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-
>         ings ...

Doesn't seem to work:

    [EMAIL PROTECTED]:~> python -Wignore
    Python 2.5.2 (r252:60911, Sep  9 2008, 15:28:52)
    [GCC 4.2.4 (Gentoo 4.2.4 p1.0)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> with = 8
    <stdin>:1: Warning: 'with' will become a reserved keyword in Python 2.6
    >>>

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to