Closed
Description
Example:
❯ ./python.exe -Wall
Python 3.13.0a1+ (heads/main:78e6d72e38e, Oct 27 2023, 11:50:08) [Clang 15.0.0 (clang-1500.0.40.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> '\e' $
<stdin>:1: SyntaxWarning: invalid escape sequence '\e'
<stdin>:1: SyntaxWarning: invalid escape sequence '\e'
File "<stdin>", line 1
'\e' $
^
SyntaxError: invalid syntax
Linked PRs
- gh-111380: Show SyntaxWarnings only once when parsing if invalid syntax is encouintered #111381
- [3.12] gh-111380: Show SyntaxWarnings only once when parsing if invalid syntax is encouintered (GH-111381) #111382
- [3.11] gh-111380: Show SyntaxWarnings only once when parsing if invalid syntax is encouintered (GH-111381) #111383
Metadata
Metadata
Assignees
Labels
No labels