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

Merged
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-89c67a9-3.15
Sep 21, 2026
Merged

hugovk merged 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>
@hugovk
hugovk merged commit b67a79d into python:3.15 Sep 21, 2026
60 checks passed
@miss-islington
miss-islington deleted the backport-89c67a9-3.15 branch September 21, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants