]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-121101: Document -Wall option (an alias for -Walways) (GH-121102) (#121147)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 29 Jun 2024 08:27:22 +0000 (10:27 +0200)
committerGitHub <noreply@github.com>
Sat, 29 Jun 2024 08:27:22 +0000 (13:57 +0530)
gh-121101: Document -Wall option (an alias for -Walways) (GH-121102)
(cherry picked from commit 0a1e8ff9c15675fdc4d07fa6c59f83808bf00798)

Co-authored-by: Wim Jeantine-Glenn <jump@wimglenn.com>
Doc/using/cmdline.rst
Misc/python.man

index 82fbc82b5da8afc00f86db0056a9163954aff6aa..4c2798ab72b5f60924b2a270feec3af7d53e8a8c 100644 (file)
@@ -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
index 9f89c94adf5028477b89fdef548a9268c03e11c8..abb065cd6106ee289a71252cc203240c703851cd 100644 (file)
@@ -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