Aivar Annamaa <aivar.anna...@gmail.com> added the comment:
Here is a simple application that also exposes this problem. Click at the button and press Escape when dialog appears. import tkinter as tk import tkinter.filedialog as fd root = tk.Tk() def dostuff(): fd.askopenfile() bt = tk.Button(root, text="Click me!", command=dostuff) bt.grid() root.mainloop() ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34927> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com