cpython/Lib/tkinter
Serhiy Storchaka 3736342e38
gh-157676: Fix KeyError in tkinter.simpledialog when a foreign window holds the grab (GH-157677)
_temp_grab_focus() used grab_current() and focus_get(), which raise
KeyError for windows which were not created by tkinter, such as a
native message box.  Use Tcl window names instead of widgets.

Regression from GH-151848, not present in released versions.
2026-09-29 15:56:42 +03:00
..
__init__.py
__main__.py
colorchooser.py
commondialog.py
constants.py
dialog.py
dnd.py
filedialog.py
font.py
fontchooser.py
messagebox.py
scrolledtext.py
simpledialog.py gh-157676: Fix KeyError in tkinter.simpledialog when a foreign window holds the grab (GH-157677) 2026-09-29 15:56:42 +03:00
systray.py
ttk.py