From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 29 Jun 2024 08:27:22 +0000 (+0200) Subject: [3.12] gh-121101: Document -Wall option (an alias for -Walways) (GH-121102) (#121147) X-Git-Tag: v3.12.5~153 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a8cb77f49a82f359c5ee5f1f6bab8aba445c562;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-121101: Document -Wall option (an alias for -Walways) (GH-121102) (#121147) gh-121101: Document -Wall option (an alias for -Walways) (GH-121102) (cherry picked from commit 0a1e8ff9c15675fdc4d07fa6c59f83808bf00798) Co-authored-by: Wim Jeantine-Glenn --- diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 82fbc82b5da8..4c2798ab72b5 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -440,6 +440,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 @@ -842,6 +843,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 9f89c94adf50..abb065cd6106 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