[issue28688] Warning -- warnings.filters was modified by test_warnings

Martin Panter report at bugs.python.org
Mon Nov 21 20:00:20 EST 2016


Martin Panter added the comment:

As long as we are restricted by backwards compatibility, it will be hard to find a hack-free solution. The ideal solution IMO is to re-create _warnings.filters from scratch when _warnings is reloaded, but such a change would be safer only for 3.7.

So I am happy to leave things as they are. At least until something upsets things again :)

----------
resolution:  -> out of date
stage:  -> resolved
status: open -> closed
superseder:  -> Warning -- warnings.filters was modified by test_warnings

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28688>
_______________________________________


More information about the Python-bugs-list mailing list