Issue2136

classification
Title: Invalid option from: jython -W all example.py
Type: Severity: normal
Components: Versions: Jython 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: pjac
Priority: Keywords:

Created on 2014-05-07.16:19:21 by pjac, last changed 2014-05-07.16:19:21 by pjac.

Messages
msg8340 (view) Author: Peter (pjac) Date: 2014-05-07.16:19:20
This works on C Python to run showing all warnings,

    $ python -W all example.py
    ...

It fails under Jython 2.7b2,

    $ jython2.7 -W all example.py
    Invalid -W option ignored: invalid action: 'all'
    ...

This is very useful for detecting things like the PendingDeprecationWarning which is silent by default.

See also issue #1906 and #1913 which touch on related issues about the command line API for the warning filters.
History
Date User Action Args
2014-05-07 16:19:21pjaccreate