
report at bugs
May 11, 2012, 12:40 PM
Views: 43
Permalink
|
|
[issue14784] Re-importing _warnings changes warnings.filters
|
|
New submission from Brett Cannon <brett [at] python>: 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. ---------- components: Library (Lib) messages: 160446 nosy: brett.cannon priority: low severity: normal stage: test needed status: open title: Re-importing _warnings changes warnings.filters type: behavior versions: Python 3.3 _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue14784> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|