Skip to content

[3.15] gh-89544: Fix IDLE hang after Restart Shell while receiving output (GH-157644) - #157970

Merged
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-b0dda15-3.15
Sep 28, 2026
Merged

hugovk merged 1 commit into
python:3.15from
miss-islington:backport-b0dda15-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

RPCClient.accept() reinitializes the SocketIO for the new connection,
but the receive buffer kept the partially received packet from the old
connection, so no message from the new user process was ever complete.
(cherry picked from commit b0dda15)

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

…put (pythonGH-157644)

RPCClient.accept() reinitializes the SocketIO for the new connection,
but the receive buffer kept the partially received packet from the old
connection, so no message from the new user process was ever complete.
(cherry picked from commit b0dda15)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@hugovk
hugovk merged commit fc53775 into python:3.15 Sep 28, 2026
60 checks passed
@miss-islington
miss-islington deleted the backport-b0dda15-3.15 branch September 28, 2026 16:00
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