New GitHub issue #111380 from pablogsal:<br>

<hr>

<pre>
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
```
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/111380">View on GitHub</a>
<p>Labels: </p>
<p>Assignee: </p>