[issue4180] warnings.simplefilter("always") does not make warnings always show up

Tres Seaver report at bugs.python.org
Fri Apr 30 13:07:41 CEST 2010


Tres Seaver <tseaver at agendaless.com> added the comment:

This patch adds tests for the 'error', 'ignore', and 'always' filters being applied *after* the default warning has been issued, and therefore the registry populated.  It causes failures for the 'error' and 'always' on both the Python and C sides.

----------
Added file: http://bugs.python.org/file17145/issue4180-test_filter_after_default.diff

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


More information about the Python-bugs-list mailing list