Infinite recursion in the tokenizer when emitting invalid escape sequence warnings #107967
Closed
2 tasks done
Labels
3.12
only security fixes
3.13
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
Checklist
and am confident this bug has not been reported before
CPython versions tested on:
3.12, CPython main branch
Operating systems tested on:
macOS
Output from running 'python -VV' on the command line:
Python 3.11.3 (main, May 8 2023, 13:16:43) [Clang 14.0.3 (clang-1403.0.22.14.1)]
A clear and concise description of the bug:
The tokenizer has an infinite recursion when emitting an invalid escape sequence
SyntaxWarning
. This was probably introduced in #106993. Fix will be up shortly.Linked PRs
The text was updated successfully, but these errors were encountered: