Skip to content

Ctrl+Alt+L is broken after upgrading to Python 3.13 #134746

Open
@danielzgtg

Description

@danielzgtg

Bug report

Bug description:

  1. Open python3 for the REPL
  2. Run anything like 1+2
  3. Press Ctrl + Alt + L

Expended behavior from Python 3.12

The screen should be cleared with only ">>>" remaining, and the scrollbar should indicate no history.

Actual behavior on Python 3.13+

Nothing happens, and the "3" is still there.

Tested on Python 3.13.3 (main, Apr 8 2025, 19:55:40) [GCC 14.2.0] on linux and Python 3.15.0a0 (heads/main:57fef27cfc, May 25 2025, 13:55:21) [GCC 14.2.0] on linux

Note that Ctrl + L still works, but it is designed to not clear history.

CPython versions tested on:

3.13

Operating systems tested on:

Linux

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