Message160446
| Author |
brett.cannon |
| Recipients |
brett.cannon |
| Date |
2012年05月11日.19:40:15 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1336765216.03.0.0611996113989.issue14784@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
If you run test.test_warnings it reports that warnings.filters changed. If you comment out the import of c_warnings in that module, the warning goes away (this happens with running on tests).
It looks like _PyWarnings_Init() itself doesn't trigger a reprocessing of the sys.warnoptions as an import of warnings.py does, and thus the change in warnings.filter. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年05月11日 19:40:16 | brett.cannon | set | recipients:
+ brett.cannon |
| 2012年05月11日 19:40:16 | brett.cannon | set | messageid: <1336765216.03.0.0611996113989.issue14784@psf.upfronthosting.co.za> |
| 2012年05月11日 19:40:15 | brett.cannon | link | issue14784 messages |
| 2012年05月11日 19:40:15 | brett.cannon | create |
|