[issue18383] test_warnings modifies warnings.filters when running with "-W default"

Alex Shkop report at bugs.python.org
Mon Apr 6 12:24:40 CEST 2015


Alex Shkop added the comment:

When caller adds duplicate filter maybe we should promote his filter to the beginning of filters list? This feels more correct to me. So if user adds duplicate filter everything will work as if we added it.

----------
Added file: http://bugs.python.org/file38841/issue18383_remove_dups_and_test.patch

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


More information about the Python-bugs-list mailing list