← 输入框|github.com|刷新
Skip to content

Allow aborting (interrupting) a running operation #126

Open

Description

@bittner

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

  1. bittner commented on Mar 8, 2019

    @bittner
    MemberAuthor

    The wxasync package may be a puzzle piece to solve this issue.

    Reference: Async/await for wxPython (blog post by Andy Bulka)

  2. cool-RR commented on Mar 8, 2019

    @cool-RR
    Member
  3. bittner commented on Mar 30, 2019

    @bittner
    MemberAuthor

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

  4. added
    usabilty
    on Mar 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    usabilty

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions