From 7e787aa9c9ef209d8e7d136e7cdf8349af12f778 Mon Sep 17 00:00:00 2001 From: Wim Glenn Date: Thu, 27 Jun 2024 12:41:15 -0500 Subject: [PATCH 1/2] Document option -Wall (an alias for -Walways) --- Doc/using/cmdline.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 7b2019625eb27a..a575760c963327 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 From 1322c465f41ff0ec7f2067cd986844ab7b017b05 Mon Sep 17 00:00:00 2001 From: Wim Glenn Date: Fri, 28 Jun 2024 15:17:41 -0500 Subject: [PATCH 2/2] Document option -Wall in man pages --- Misc/python.man | 1 + 1 file changed, 1 insertion(+) diff --git a/Misc/python.man b/Misc/python.man index 4c90c0e2a998ba..4076b8d3d1ba30 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