]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39056: Fix handling invalid warning category in the -W option. (GH-17618)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 5 Jan 2020 12:15:27 +0000 (14:15 +0200)
committerGitHub <noreply@github.com>
Sun, 5 Jan 2020 12:15:27 +0000 (14:15 +0200)
commit41ec17e45d54473d32f543396293256f1581e44d
tree3181bfa98e7f3c942fca53e339a2098af32e3cd1
parent6a265f0d0c0a4b3b8fecf4275d49187a384167f4
bpo-39056: Fix handling invalid warning category in the -W option. (GH-17618)

No longer import the re module if it is not needed.
Lib/test/test_warnings/__init__.py
Lib/warnings.py
Misc/NEWS.d/next/Library/2019-12-15-21-05-16.bpo-39056.nEfUM9.rst [new file with mode: 0644]