Skip to content

[3.15] gh-75512: Keep the prompt with the input in progress when a thread prints in the IDLE Shell (GH-157706) - #157835

Open
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-89c67a9-3.15
Open

miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-89c67a9-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Output written while a prompt is shown was inserted after the newline
which marks the prompt, so the statement being entered lost the prompt.
If the output ends with a newline, the prompt is moved to the next line.
(cherry picked from commit 89c67a9)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…ead prints in the IDLE Shell (pythonGH-157706)

Output written while a prompt is shown was inserted after the newline
which marks the prompt, so the statement being entered lost the prompt.
If the output ends with a newline, the prompt is moved to the next line.
(cherry picked from commit 89c67a9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants