[issue6639] turtle: _tkinter.TclError: invalid command name ".10170160"

Lita Cho report at bugs.python.org
Wed Jul 30 19:36:06 CEST 2014


Lita Cho added the comment:

I can make it worth such that it doesn't raise a Terminator error. This works great when working with Turtle on the command line. I basically check if the root exists for all Tk canvas calls. 

If it got destroyed, then it just returns. However, if you run the following recursive code, it will just keep popping up a window forever unless you Ctrl+C out of the program. So that is not going to work. I still believe raising an error is the proper approach.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6639>
_______________________________________


More information about the Python-bugs-list mailing list