From d96a52e1366ad5e798839a63e68a0a1b9d728f9c Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sat, 29 Jun 2024 10:27:11 +0200 Subject: [PATCH] [3.13] gh-121101: Document -Wall option (an alias for -Walways) (GH-121102) (#121146) gh-121101: Document -Wall option (an alias for -Walways) (GH-121102) (cherry picked from commit 0a1e8ff9c15675fdc4d07fa6c59f83808bf00798) Co-authored-by: Wim Jeantine-Glenn --- Doc/using/cmdline.rst | 2 ++ Misc/python.man | 1 + 2 files changed, 3 insertions(+) diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 0620f7d7114..29a96545dcf 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -441,6 +441,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 @@ -909,6 +910,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 4c90c0e2a99..4076b8d3d1b 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