summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-04-16 17:12:14 (GMT)
committerGitHub <noreply@github.com>2021-04-16 17:12:14 (GMT)
commit62ec63864822de1dd1933225584e8503ac40c1f9 (patch)
tree4e150021e9606e833ae4d339b900f180f17677c6 /Doc/tools
parent0ad81d4db2f409d72f469d0b74ab597be772a68e (diff)
downloadcpython-62ec63864822de1dd1933225584e8503ac40c1f9.zip
cpython-62ec63864822de1dd1933225584e8503ac40c1f9.tar.gz
cpython-62ec63864822de1dd1933225584e8503ac40c1f9.tar.bz2
bpo-43862: Enhance -W cmdline option documentation (GH-25439)
The -W format is "action:message:category:module:lineno". Update also the Python manual page.
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/susp-ignored.csv6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv
index a3ee332..b9e1067 100644
--- a/Doc/tools/susp-ignored.csv
+++ b/Doc/tools/susp-ignored.csv
@@ -279,7 +279,11 @@ tutorial/stdlib2,,:start,"fields = struct.unpack('<IIIHH', data[start:start+16])
tutorial/stdlib2,,:start,filename = data[start:start+filenamesize]
tutorial/stdlib2,,:Warning,WARNING:root:Warning:config file server.conf not found
using/cmdline,,:errorhandler,:errorhandler
-using/cmdline,,:line,file:line: category: message
+using/cmdline,,:message,action:message:category:module:lineno
+using/cmdline,,:category,action:message:category:module:lineno
+using/cmdline,,:module,action:message:category:module:lineno
+using/cmdline,,:lineno,action:message:category:module:lineno
+using/cmdline,,::,-W ignore::DeprecationWarning
using/unix,,:Packaging,https://en.opensuse.org/Portal:Packaging
whatsnew/2.0,,:len,
whatsnew/2.3,,::,