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.
Created on 2012年05月11日 19:40 by brett.cannon, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| Issue14784.log | BreamoreBoy, 2014年07月04日 07:17 | Test run output | ||
| Messages (3) | |||
|---|---|---|---|
| msg160446 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2012年05月11日 19:40 | |
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. |
|||
| msg222265 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2014年07月04日 07:17 | |
I've just tried this and didn't see anything about warnings.filters changed. Full test run output in attached file. |
|||
| msg232452 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2014年12月10日 22:55 | |
Issue18383 is a duplicate of this issue but it has a patch (not perfect). |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:30 | admin | set | github: 58989 |
| 2016年04月13日 02:32:56 | martin.panter | set | status: open -> closed superseder: test_warnings modifies warnings.filters when running with "-W default" resolution: duplicate |
| 2014年12月10日 22:55:40 | serhiy.storchaka | set | nosy:
+ serhiy.storchaka messages: + msg232452 |
| 2014年07月04日 07:17:05 | BreamoreBoy | set | files:
+ Issue14784.log nosy: + BreamoreBoy messages: + msg222265 |
| 2012年05月12日 17:13:47 | Arfrever | set | nosy:
+ Arfrever |
| 2012年05月11日 19:40:15 | brett.cannon | create | |