If the user writes any nonzero value into `interrupt_buffer`, call
`PyErr_SetInterruptEx` on it. This silently ignores out of range
signals.

`PyErr_SetInterruptEx` is new in Python 3.10.
Handle signals other than SIGINT with interrupt_buffer. If the user writes any nonzero value into `interrupt_buffer`, call
`PyErr_SetInterruptEx` on it. This silently ignores out of range
signals.

`PyErr_SetInterruptEx` is new in Python 3.10.
From https: // github.com / serge - sans - paille / numpy - benchmarks

From https: // github.com / serge - sans - paille / numpy - benchmarks
