-
Notifications
You must be signed in to change notification settings - Fork 191
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
pypi page example throwing Python-CFFI error and not terminating #223
Comments
Based on the exception Maybe the interrupt can be caught in the pythong and call something like Update
Note: it still gives and audible warning and throws the It just really wants to LIVE! Who can blame it. |
Oh.. Maybe it would be better to limit the number of loops to 100 or something, to not let the user get trapped? The reason why the output is text only (while many of the more advanced pymunk examples have more visually interesting output) is that I wanted the readme example to not have any additional dependencies except pymunk. Its also nice that it works directly in the terminal. I have thought about adding a tkinter drawing module, but Im not sure how useful it would be except to make this initial quick demo in the readme nicer.. (The other examples use pygame, pyglet etc). |
Summary
Ctrl + c
Python-CFFI error
Expectation
Ctrl + c
and gracefully close.Other considerations
Note: I see the code comments and they don't say what I should see on-screen.
So, textual output maybe the only output?
Not sure, but as a user it would be nice to know what to expect before I run the code.
Also, it would be great if
- Ctrl+c worked to break the loop (just for this example) so the user could quickly kill it.
Code
The text was updated successfully, but these errors were encountered: