Skip to content

gh-150732: Handle SystemError from compiler in the REPLs#151480

Open
johnslavik wants to merge 4 commits into
python:mainfrom
johnslavik:gh-150732-incompleteinputerror-is-leaked-in-the-repl-if-inpu
Open

gh-150732: Handle SystemError from compiler in the REPLs#151480
johnslavik wants to merge 4 commits into
python:mainfrom
johnslavik:gh-150732-incompleteinputerror-is-leaked-in-the-repl-if-inpu

Conversation

@johnslavik

@johnslavik johnslavik commented Jun 14, 2026

Copy link
Copy Markdown
Member

Try >>> class C: [(lambda: __class__)() for () in ()] at rev 5804991 or earlier as the prompt to reproduce organically at upstream.

This covers cases in our REPLs when the compiler raises SystemError, e.g. because it has a bug.

@johnslavik johnslavik added needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant