python / python/cpython

Line printed at each key pressed in new Python REPL GUI

Open
#125,468 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

OS-windows stdlib topic-repl type-bug
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

Bug report

Bug description:

Using Python 3.13, in the new Python REPL GUI, if I write more characters than the length of the line in my terminal without pressing Enter (so the text go in the next line but without do a multiline input) and then i move the cursor to the start of the line (or position it in the superior line) and start to digit again, the same input line is been printed lot of times

CPython versions tested on:

3.13

Operating systems tested on:

Windows

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on Windows with Python 3.13 in the new Python REPL GUI by wrapping input, moving the cursor to an earlier line, and typing again. Trace the REPL's line-editing and redraw behavior, then verify that editing wrapped input no longer prints the same line repeatedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.