Message8340

Author pjac
Recipients pjac
Date 2014-05-07.16:19:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399479561.67.0.715237217465.issue2136@psf.upfronthosting.co.za>
In-reply-to
Content
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:21pjacsetrecipients: + pjac
2014-05-07 16:19:21pjacsetmessageid: <1399479561.67.0.715237217465.issue2136@psf.upfronthosting.co.za>
2014-05-07 16:19:21pjaclinkissue2136 messages
2014-05-07 16:19:20pjaccreate