Title: Invalid option from: jython -W all
Type: Severity: normal
Components: Versions: Jython 2.7
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.

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

It fails under Jython 2.7b2,

    $ jython2.7 -W all
    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.
Date User Action Args
2014-05-07 16:19:21pjaccreate