Skip to content

[3.15] gh-162647: Fix tkinter mainloop() with Tcl interpreters in different threads (GH-162649) - #162684

Open
miss-islington wants to merge 2 commits into
python:3.15from
miss-islington:backport-0a1d601-3.15
Open

miss-islington wants to merge 2 commits into
python:3.15from
miss-islington:backport-0a1d601-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

quit() now stops only the mainloop() of its interpreter, and wakes it up if
it is called from other thread. An exception raised in a callback is now
only raised by an event loop in the same thread.
(cherry picked from commit 0a1d601)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

…erent threads (pythonGH-162649)

quit() now stops only the mainloop() of its interpreter, and wakes it up if
it is called from other thread.  An exception raised in a callback is now
only raised by an event loop in the same thread.
(cherry picked from commit 0a1d601b4cbfeb4354c91f19a6310a4cbbe5f106)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) November 26, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants