[issue989712] Support using Tk without a mainloop
report at bugs.python.org
Mon Mar 26 20:42:29 CEST 2012
Roger Serwy <roger.serwy at gmail.com> added the comment:
There's a subtle bug in the currently applied patch.
a = tkinter.Tk()
b = tkinter.Tk()
Closing the first window will prevent closing the second window. This example may seem abstract, but it is a real issue especially when using matplotlib with multiple figures.
Attached is a patch that incorporates what IdleX uses for driving the Tk/Tcl event loop.
status: closed -> open
Added file: http://bugs.python.org/file25031/issue989712.patch
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list