]> granicus.if.org Git - python/commit
Issue #24455: Prevent IDLE from hanging when a) closing the shell while the
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 21 Nov 2015 00:36:43 +0000 (19:36 -0500)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sat, 21 Nov 2015 00:36:43 +0000 (19:36 -0500)
commit6a904c16f7eac3d6da1add1851a8de978db09e60
tree80f9d024d70a077e14cc79048283b4631378fc0d
parent0f3c9765d4dd5e0b4df608baf8d93cc0e5c4b227
Issue #24455: Prevent IDLE from hanging when a) closing the shell while the
debugger is active (15347); b) closing the debugger with the [X] button
(15348); and c) activating the debugger when already active (24455).
The patch by Mark Roseman does this by making two changes.
1. To suspend and resume the gui.interaction method, use the tcl vwait
mechanism interded for this purpose instead of root.mainloop & .quit.
2. In gui.run, allow any existing interaction to terminate first.
Lib/idlelib/Debugger.py