summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-01-05 04:33:08 -0800
committerGitHub <noreply@github.com>2020-01-05 04:33:08 -0800
commite1caa49f68dd63b534774aebad0c240143e6fb5d (patch)
treed4f13d915dc4adfb4e1c7968165e77a3694c276a /Misc
parentfc84d501b9d77701cbdd485de45e200bf027c0e9 (diff)
downloadcpython-git-e1caa49f68dd63b534774aebad0c240143e6fb5d.tar.gz
bpo-39056: Fix handling invalid warning category in the -W option. (GH-17618)
No longer import the re module if it is not needed. (cherry picked from commit 41ec17e45d54473d32f543396293256f1581e44d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-12-15-21-05-16.bpo-39056.nEfUM9.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-12-15-21-05-16.bpo-39056.nEfUM9.rst b/Misc/NEWS.d/next/Library/2019-12-15-21-05-16.bpo-39056.nEfUM9.rst
new file mode 100644
index 0000000000..d5d2b98e9b
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-12-15-21-05-16.bpo-39056.nEfUM9.rst
@@ -0,0 +1,2 @@
+Fixed handling invalid warning category in the -W option. No longer import
+the re module if it is not needed.