This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: warnings.py should not raise AssertionError when validating arguments
Type: Stage: patch review
Components: Library (Lib) Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: remi.lapeyre
Priority: normal Keywords: patch

Created on 2020-03-09 14:05 by remi.lapeyre, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 18878 open remi.lapeyre, 2020-03-09 14:15
Messages (1)
msg363732 - (view) Author: Rémi Lapeyre (remi.lapeyre) * Date: 2020-03-09 14:05
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.
History
Date User Action Args
2022-04-11 14:59:27adminsetgithub: 84093
2020-03-09 14:15:03remi.lapeyresetkeywords: + patch
stage: patch review
pull_requests: + pull_request18236
2020-03-09 14:05:44remi.lapeyrecreate