[issue21823] Catch turtle.Terminator exceptions in turtledemo

2014-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since hanoi do not have user interaction, once started, it does not need to be 'special'. Like planets_and_moon, it could run until done and then return 'Done'. -- ___ Python tracker

[issue21823] Catch turtle.Terminator exceptions in turtledemo

2014-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 2.7, the exception in tick occurred at tracer(False), so I moved try: up in all patches. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue21823] Catch turtle.Terminator exceptions in turtledemo

2014-06-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset a43d03cdf38b by Terry Jan Reedy in branch '2.7': Issue #21823: Catch turtle.Terminator exceptions in turtledemo. http://hg.python.org/cpython/rev/a43d03cdf38b New changeset 1ae2382417dc by Terry Jan Reedy in branch '3.4': Issue #21823: Catch turtle.

[issue21823] Catch turtle.Terminator exceptions in turtledemo

2014-06-21 Thread Terry J. Reedy
New submission from Terry J. Reedy: When a turtle update operation cannot finish because the underlying canvas has been cleared (when the STOP button is pushed), turtle.Terminator is raised. When turtledemo runs the main function of a demo, it catches any Termininator raised before main return