Skip to content

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

Merged
terryjreedy merged 1 commit into
python:3.14from
miss-islington:backport-89c67a9-3.14
Sep 20, 2026
Merged

terryjreedy merged 1 commit into
python:3.14from
miss-islington:backport-89c67a9-3.14

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>
@terryjreedy
terryjreedy enabled auto-merge (squash) September 20, 2026 03:07
@terryjreedy
terryjreedy merged commit de38c76 into python:3.14 Sep 20, 2026
51 checks passed
@miss-islington
miss-islington deleted the backport-89c67a9-3.14 branch September 20, 2026 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants