New submission from Rémi Lapeyre <remi.lape...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue39912> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com