Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
vstinner merged 2 commits into
python:masterpython/cpython:masterfrom
vstinner:warnings_docCopy head branch name to clipboard
Apr 16, 2021
Merged

bpo-43862: Enhance -W cmdline option documentation#25439
vstinner merged 2 commits into
python:masterpython/cpython:masterfrom
vstinner:warnings_docCopy head branch name to clipboard

Conversation

@vstinner

@vstinner vstinner commented Apr 16, 2021

Copy link
Copy Markdown
Member

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
Copy Markdown
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.