Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Apr 16, 2021

The -W format is "action:message:category:module:lineno".

Update also the Python manual page.

https://bugs.python.org/issue43862

@bedevere-bot bedevere-bot added docs Documentation in the Doc dir awaiting core review labels Apr 16, 2021
@vstinner vstinner added skip news and removed awaiting core review docs Documentation in the Doc dir labels Apr 16, 2021
The -W format is "action:message:category:module:lineno".

Update also the Python manual page.
@vstinner vstinner changed the title bpo-43862: Fix -W cmdline option documentation bpo-43862: Enhance -W cmdline option documentation Apr 16, 2021
@vstinner
Copy link
Member Author

The Doc suspicious test failed with:

WARNING: [using/cmdline:438] ":message" found in "action:message:category:module:lineno"
WARNING: [using/cmdline:438] ":category" found in "action:message:category:module:lineno"
WARNING: [using/cmdline:438] ":module" found in "action:message:category:module:lineno"
WARNING: [using/cmdline:438] ":lineno" found in "action:message:category:module:lineno"
WARNING: [using/cmdline:438] "::" found in "-W ignore::DeprecationWarning"
WARNING: Found 1/368 unused rules: using/cmdline,,:line,file:line: category: message

See https://bugs.python.org/issue42238

@vstinner vstinner merged commit 62ec638 into python:master Apr 16, 2021
@vstinner vstinner deleted the warnings_doc branch April 16, 2021 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants