-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Space does not make turtledemo/sorting_animate.py
Exit normally
#125763
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
Comments
Can you explain it to me? I don't seem to understand it. |
(Moved here from PR #125691 and revised): The normal way to stop within the demo framework is the red STOP button, and this works (but see below). The spacebar bit is for when one runs sorting_animate directly, as with The 'but' above is that both STOP and spacebar raise Terminator when pressed while the animation is going, as opposed to when waiting for input ( When an example is run directly, @rruuaanng Run turtledemo either from IDLE or console ( |
Is it acceptable to remove the space- Or is there any other solution? |
I gave the 'solution', switching on |
I've created a PR to fix this. PTAL. And about your comment:
Do you mean that we need to create a separate issue that closing the window when a single case runtime might throw an error? (when running an animation) I'm not quite sure what you mean in your comment, and if that's what I said, then I'd be happy to create a new one issue and try my best to solve it. |
Bug report
Bug description:
Separate from #125691 (comment)
377852278-75a9e4fc-9313-4805-8099-39f615616ae7.mp4
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
turtledemo
#126583The text was updated successfully, but these errors were encountered: