Terry J. Reedy added the comment:
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.
----------
assignee: roger.serwy -> terry.reedy
stage: patch review -> needs patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15348>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com