[New-bugs-announce] [issue39912] warnings.py should not raise AssertionError when validating arguments

Rémi Lapeyre report at bugs.python.org
Mon Mar 9 10:05:44 EDT 2020


New submission from Rémi Lapeyre <remi.lapeyre at henki.fr>:

Currently simplefilter() and filterwarnings() don't validate their arguments when using -O and AssertionError is not the most appropriate exception to raise.

I will post a PR shortly.

----------
components: Library (Lib)
messages: 363732
nosy: remi.lapeyre
priority: normal
severity: normal
status: open
title: warnings.py should not raise AssertionError when validating arguments
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39912>
_______________________________________


More information about the New-bugs-announce mailing list