[issue1214675] module warnings lacks a remove filter function

Guido van Rossum report at bugs.python.org
Tue Mar 22 20:46:35 CET 2011


Guido van Rossum <guido at python.org> added the comment:

Closing. We now have a context manager based solution for saving, changing and restoring warning filters.

http://docs.python.org/library/warnings.html#testing-warnings

(I just came across this issue looking for such a solution. :-)

----------
nosy: +gvanrossum
resolution:  -> rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list