You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow aborting (interrupting) a running operation #126
Lengthy operations can't be interrupted in PythonTurtle, as of today. This proves to be a huge problem (which is also related to #24).
User interface becomes unresponsive
Especially with loops, and worse, nested loops, users are quickly tempted to use large numbers (for ranges), which creates an unlucky situation at best (when having to wait for a few minutes) or the need to kill the application, e.g., for nested loops (when an operation of O(n²) or more was triggered).
Expected behavior
It should be possible to interrupt the calculations (e.g. by pressing <Ctrl>+C and/or the <Esc> key).
It should be easy to interrupt the turtle and return to the interpreter prompt.
Activity
bittner commentedon Mar 8, 2019
The wxasync package may be a puzzle piece to solve this issue.
Reference: Async/await for wxPython (blog post by Andy Bulka)
cool-RR commentedon Mar 8, 2019
bittner commentedon Mar 30, 2019
This is maybe the most critical UX issue at the moment.