Issue2136

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

Created on 2014-05-07.16:19:21 by pjac, last changed 2018-03-16.23:11:48 by jeff.allen.

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
2018-03-16 23:11:48jeff.allensetpriority: normal
2014-05-07 16:19:21pjaccreate