catch keyboard interrupts during Python execution
Open
enhancement
- Dominant language
- Julia
- Stars
- 1.5k
- Forks
- 186
- PR merge metrics
- No merged PRs in 30d
Description
Currently, keyboard interrupts are deferred during execution of Python code, since CPython is not interrupt-safe. It would be nice to catch these interrupts and set a `KeyboardInterrupt` Python exception so that Python code is halted gracefully.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.