Ctrl+Alt+L is broken after upgrading to Python 3.13
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
Bug report
Bug description:
- Open
python3for the REPL - Run anything like
1+2 - 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
Linked PRs
- gh-138521
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior in the Python 3.13+ REPL on Linux using the Ctrl+Alt+L steps, then trace the REPL input handling and compare it with Python 3.12. Done means the shortcut clears the screen and history display as described, while Ctrl+L retains its existing behavior. Review linked PR gh-138521 before starting because the issue indicates work is already underway.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100