Interrupt and signal handling for Cython
