Message255035
The patch for #24455 replaced root.mainloop,.quit with tcl vwait, set as the suspend/resume mechanism for Debugger.interation. After this, closing the shell as described in #15347, or the debugger with [x] as described here, on my Windows 10 machine, resulted in
File "F:\Python\dev\34\lib\idlelib\Debugger.py", line 20, in user_line
self.gui.interaction(message, frame)
_tkinter.TclError: invalid command name ".86740760.86830984.86827736"
instead of a hang. This is an improvement as the Exception can be caught and ignored. People testing of other systems did not report this. With TclError caught, closing the debugger with [x] then produced
File "F:\Python\dev\34\lib\idlelib\Debugger.py", line 21, in user_line
self.gui.interaction(message, frame)
RuntimeError: Unknown object id: 'gui_adapter'
I applied the patch with Runtime also caught and ignored.
The exceptions did not occur when [Quit] was pressed first. So I think [x] should do whatever Quit does before closing. |
|
Date |
User |
Action |
Args |
2015-11-21 01:38:28 | terry.reedy | set | recipients:
+ terry.reedy, roger.serwy, asvetlov, markroseman, THRlWiTi, jimbo1qaz |
2015-11-21 01:38:28 | terry.reedy | set | messageid: <1448069908.71.0.055565359155.issue15348@psf.upfronthosting.co.za> |
2015-11-21 01:38:28 | terry.reedy | link | issue15348 messages |
2015-11-21 01:38:27 | terry.reedy | create | |
|