Skip to content

Commit 6a8cb77

Browse files
[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 0a1e8ff) Co-authored-by: Wim Jeantine-Glenn <[email protected]>
1 parent 027902b commit 6a8cb77

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Doc/using/cmdline.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ Miscellaneous options
440440
-Wdefault # Warn once per call location
441441
-Werror # Convert to exceptions
442442
-Walways # Warn every time
443+
-Wall # Same as -Walways
443444
-Wmodule # Warn once per calling module
444445
-Wonce # Warn once per Python process
445446
-Wignore # Never warn
@@ -842,6 +843,7 @@ conflict.
842843
PYTHONWARNINGS=default # Warn once per call location
843844
PYTHONWARNINGS=error # Convert to exceptions
844845
PYTHONWARNINGS=always # Warn every time
846+
PYTHONWARNINGS=all # Same as PYTHONWARNINGS=always
845847
PYTHONWARNINGS=module # Warn once per calling module
846848
PYTHONWARNINGS=once # Warn once per Python process
847849
PYTHONWARNINGS=ignore # Never warn

Misc/python.man

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ emitted by a process (even those that are otherwise ignored by default):
251251
-Wdefault # Warn once per call location
252252
-Werror # Convert to exceptions
253253
-Walways # Warn every time
254+
-Wall # Same as -Walways
254255
-Wmodule # Warn once per calling module
255256
-Wonce # Warn once per Python process
256257
-Wignore # Never warn

0 commit comments

Comments
 (0)