Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Allow aborting (interrupting) a running operation #126
Comments
|
The wxasync package may be a puzzle piece to solve this issue. Reference: Async/await for wxPython (blog post by Andy Bulka) |
|
And he's back! :)
…On Fri, Mar 8, 2019, 11:48 Peter Bittner ***@***.***> wrote:
The wxasync <https://github.com/sirk390/wxasync> package may be a puzzle
piece to solve this issue.
Reference: Async/await for wxPython
***@***.***/async-await-for-wxpython-c78c667e0872> (blog
post by Andy Bulka)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#126 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADdyrH2JXekVibxCiyPgixbgxJVUCdhks5vUjH2gaJpZM4XJTly>
.
|
|
This is maybe the most critical UX issue at the moment. |
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>+Cand/or the<Esc>key).It should be easy to interrupt the turtle and return to the interpreter prompt.