Skip to content

pyrepl: Unable to ^D exit in multiline section #133400

@StanFromIreland

Description

@StanFromIreland

Bug report

Bug description:

To reproduce, type ( an then enter a few times, you will be unable to exit via ^D unlike on a single prompt line (nothing happens).

In the PYTHON_BASIC_REPL ctrl-D exits the multiline section.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions