Hacker News new | past | comments | ask | show | jobs | submit login

ctrl + c is accepted, it means "interrupt the current operation", like it does if you are in bash.

If there's no current operation, Python has no way of knowing for sure if you intended to exit, or if you intended to interrupt an operation, but the operation finished before you pressed the key combo.

Python's behavior here is good UX. A key combo that does two different things depending on the current state of the program, and the program's state is changing right in front of you... that would suck.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: