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

Brett Cannon report at bugs.python.org
Thu Oct 23 01:16:24 CEST 2008


Brett Cannon <brett at python.org> added the comment:

On Wed, Oct 22, 2008 at 4:11 PM, Benjamin Peterson
<report at bugs.python.org> wrote:
>
> Benjamin Peterson <musiccomposition at gmail.com> added the comment:
>
> A simple solution would be to allow warn_explicit to be overridden. Then
> a custom warn_explicit function could simply ignore the registry argument.

You say "simple" from a comprehension standpoint, I say "pain" in
terms of implementing it in C (although most of the hard stuff I
already have worked out for showwarning).

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


More information about the Python-bugs-list mailing list