Skip to content

Second prompt in new REPL when exiting F2 #125152

@hroncok

Description

@hroncok

Bug report

Bug description:

Sorry for not reporting this before the final version, but I just got aware of the F2 shortcut via https://discuss.python.org/t/python-3-13-0-final-has-been-released/66972/5

After returning from F2, I have double prompt

$ python3.13
Python 3.13.0 (main, Oct  8 2024, 00:00:00) [GCC 13.3.1 20240913 (Red Hat 13.3.1-3)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 

Press F2, pager appears. Press q to exit it.

$ python3.13
Python 3.13.0 (main, Oct  8 2024, 00:00:00) [GCC 13.3.1 20240913 (Red Hat 13.3.1-3)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> >>> 

CPython versions tested on:

3.13

Operating systems tested on:

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions