]> 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:38 +0000 (19:36 -0500)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sat, 21 Nov 2015 00:36:38 +0000 (19:36 -0500)
commit89bdf373c4fc5b28f0b62de8fee4c9fb97c35411
treec42ac55d90adf7ed3b0945848c7119ca8d424577
parent6156560e4b40ae81304d80b5a932fd90e6b4ba80
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