From: Wim Jeantine-Glenn Date: Sat, 29 Jun 2024 06:40:13 +0000 (-0500) Subject: gh-121101: Document -Wall option (an alias for -Walways) (#121102) X-Git-Tag: v3.14.0a1~1290 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a1e8ff9c15675fdc4d07fa6c59f83808bf00798;p=thirdparty%2FPython%2Fcpython.git gh-121101: Document -Wall option (an alias for -Walways) (#121102) --- diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 7b2019625eb2..a575760c9633 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -447,6 +447,7 @@ Miscellaneous options -Wdefault # Warn once per call location -Werror # Convert to exceptions -Walways # Warn every time + -Wall # Same as -Walways -Wmodule # Warn once per calling module -Wonce # Warn once per Python process -Wignore # Never warn @@ -915,6 +916,7 @@ conflict. PYTHONWARNINGS=default # Warn once per call location PYTHONWARNINGS=error # Convert to exceptions PYTHONWARNINGS=always # Warn every time + PYTHONWARNINGS=all # Same as PYTHONWARNINGS=always PYTHONWARNINGS=module # Warn once per calling module PYTHONWARNINGS=once # Warn once per Python process PYTHONWARNINGS=ignore # Never warn diff --git a/Misc/python.man b/Misc/python.man index 4c90c0e2a998..4076b8d3d1ba 100644 --- a/Misc/python.man +++ b/Misc/python.man @@ -251,6 +251,7 @@ emitted by a process (even those that are otherwise ignored by default): -Wdefault # Warn once per call location -Werror # Convert to exceptions -Walways # Warn every time + -Wall # Same as -Walways -Wmodule # Warn once per calling module -Wonce # Warn once per Python process -Wignore # Never warn