消息 [95117]
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:32 | barry | 修改 | recipients:
+ barry |
| 2009-11-10 15:05:31 | barry | 修改 | messageid: <1257865531.11.0.841786263832.issue7301@psf.upfronthosting.co.za> |
| 2009-11-10 15:05:28 | barry | 链接 | issue7301 messages |
| 2009-11-10 15:05:25 | barry | 创建 | |
|