Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-43862: Enhance -W cmdline option documentation #25439

Merged
merged 2 commits into from Apr 16, 2021

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

vstinner commented Apr 16, 2021

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
12 checks passed
@vstinner vstinner deleted the warnings_doc branch Apr 16, 2021
kreathon pushed a commit to kreathon/cpython that referenced this pull request May 2, 2021
The -W format is "action:message:category:module:lineno".

Update also the Python manual page.
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.

None yet

3 participants