This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients THRlWiTi, asvetlov, jimbo1qaz, markroseman, roger.serwy, terry.reedy
Date 2015-11-21.01:38:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448069908.71.0.055565359155.issue15348@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-11-21 01:38:28terry.reedysetrecipients: + terry.reedy, roger.serwy, asvetlov, markroseman, THRlWiTi, jimbo1qaz
2015-11-21 01:38:28terry.reedysetmessageid: <1448069908.71.0.055565359155.issue15348@psf.upfronthosting.co.za>
2015-11-21 01:38:28terry.reedylinkissue15348 messages
2015-11-21 01:38:27terry.reedycreate