SyntaxError thrown from the compiler exits the REPL #119700
Labels
3.13
bugs and security fixes
3.14
bugs and security fixes
topic-repl
Related to the interactive shell
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
If you write a SyntaxError that gets caught by the parser, a nice error is shown and you go back to the main prompt.
But if you hit a SyntaxError thrown from the compiler, the REPL exits.
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Linked PRs
The text was updated successfully, but these errors were encountered: