➜

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.

作者 barry
收信人 barry
日期 2009-11-10.15:05:19
SpamBayes Score 7.945783e-05
Marked as misclassified 否
Message-id <1257865531.11.0.841786263832.issue7301@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2009-11-10 15:05:32barry修改recipients: + barry
2009-11-10 15:05:31barry修改messageid: <1257865531.11.0.841786263832.issue7301@psf.upfronthosting.co.za>
2009-11-10 15:05:28barry链接issue7301 messages
2009-11-10 15:05:25barry创建