X Tutup
The Wayback Machine - https://web.archive.org/web/20201204225825/https://github.com/PythonTurtle/PythonTurtle/issues/126
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow aborting (interrupting) a running operation #126

Open
bittner opened this issue Oct 4, 2018 · 3 comments
Open

Allow aborting (interrupting) a running operation #126

bittner opened this issue Oct 4, 2018 · 3 comments
Labels

Comments

@bittner
Copy link
Member

@bittner bittner commented Oct 4, 2018

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.

@bittner
Copy link
Member Author

@bittner bittner commented 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
Copy link
Member

@cool-RR cool-RR commented Mar 8, 2019

@bittner
Copy link
Member Author

@bittner bittner commented Mar 30, 2019

This is maybe the most critical UX issue at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.
X Tutup