You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python's REPL interprets Control+C as a way to stop a run-away REPL command. It immediately breaks with the exception KeyboardInterrupt (which Python programs can indeed handle, but that's another story).
If done at the REPL, Python just prints "KeyboardInterrupt" and the REPL remains open.
You don't have to copy Python exactly, but most REPL's do quit on Control+D (EOF), as this allows scripts to use them, and also, since it's a frequent standard, users expect it.
Can Papyrus follow suit?
The text was updated successfully, but these errors were encountered:
Python's REPL interprets Control+C as a way to stop a run-away REPL command. It immediately breaks with the exception
KeyboardInterrupt
(which Python programs can indeed handle, but that's another story).If done at the REPL, Python just prints "KeyboardInterrupt" and the REPL remains open.
You don't have to copy Python exactly, but most REPL's do quit on Control+D (EOF), as this allows scripts to use them, and also, since it's a frequent standard, users expect it.
Can Papyrus follow suit?
The text was updated successfully, but these errors were encountered: