This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry
Recipients barry
Date 2009-11-10.15:05:19
SpamBayes Score 7.945783e-05
Marked as misclassified No
Message-id <1257865531.11.0.841786263832.issue7301@psf.upfronthosting.co.za>
In-reply-to
Content
It would be very useful to have an environment variable $PYTHONWARNINGS,
tied to the -W option for silencing various warnings (most importantly,
DeprecationWarnings).

Use case: a test suite running many subprocesses, testing that those
subproc output is clean.  DeprecationWarnings cannot easily be
suppressed by passing -W flags all around or using liberally sprinkled
filterwarnings().  Setting $PYTHONWARNINGS once and for all to silence
all processes would be very useful.
History
Date User Action Args
2009-11-10 15:05:32barrysetrecipients: + barry
2009-11-10 15:05:31barrysetmessageid: <1257865531.11.0.841786263832.issue7301@psf.upfronthosting.co.za>
2009-11-10 15:05:28barrylinkissue7301 messages
2009-11-10 15:05:25barrycreate