Skip to content

[3.14] gh-162650: Fix tkinter calls from other threads after a nested mainloop() (GH-162651) - #162674

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-b50b43d-3.14
Nov 26, 2026
Merged

serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-b50b43d-3.14

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

A nested mainloop() now restores the dispatching flag instead of resetting
it, so the outer mainloop() still accepts calls from other threads.
(cherry picked from commit b50b43d)

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

…nested mainloop() (pythonGH-162651)

A nested mainloop() now restores the dispatching flag instead of resetting
it, so the outer mainloop() still accepts calls from other threads.
(cherry picked from commit b50b43d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) November 26, 2026 11:21
@serhiy-storchaka
serhiy-storchaka merged commit f10d09d into python:3.14 Nov 26, 2026
51 checks passed
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.

1 participant