[issue29672] `catch_warnings` context manager causes warnings to be reprinted
Gerrit Holl
report at bugs.python.org
Mon Feb 27 17:36:12 EST 2017
Gerrit Holl added the comment:
I suppose this is a consequence of the change in:
http://bugs.python.org/issue4180
and although I can see why the warnings filter would be reset when entering the context manager, I don't think it is desirable to have side effects for modules that are entirely unrelated.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29672>
_______________________________________
More information about the Python-bugs-list
mailing list