summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Jeantine-Glenn <jump@wimglenn.com>2024-06-29 06:40:13 (GMT)
committerGitHub <noreply@github.com>2024-06-29 06:40:13 (GMT)
commit0a1e8ff9c15675fdc4d07fa6c59f83808bf00798 (patch)
treedda67daee5e4dbd04c612360a6113de12c216fbd
parent6d34938dc8163f4a4bcc68069a1645a7ab76e935 (diff)
downloadcpython-0a1e8ff9c15675fdc4d07fa6c59f83808bf00798.zip
cpython-0a1e8ff9c15675fdc4d07fa6c59f83808bf00798.tar.gz
cpython-0a1e8ff9c15675fdc4d07fa6c59f83808bf00798.tar.bz2
gh-121101: Document -Wall option (an alias for -Walways) (#121102)
-rw-r--r--Doc/using/cmdline.rst2
-rw-r--r--Misc/python.man1
2 files changed, 3 insertions, 0 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 7b20196..a575760 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 4c90c0e..4076b8d 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