[New-bugs-announce] [issue43356] PyErr_SetInterrupt should have an equivalent that takes a signal number

Antoine Pitrou report at bugs.python.org
Mon Mar 1 12:55:28 EST 2021


New submission from Antoine Pitrou <pitrou at free.fr>:

PyErr_SetInterrupt() is useful if you want to simulate the effect of a SIGINT.
It would be helpful to provide a similar primitive for other signal numbers, e.g. `PyErr_SetInterruptEx(int signum)`.

----------
components: C API
messages: 387877
nosy: pitrou
priority: normal
severity: normal
status: open
title: PyErr_SetInterrupt should have an equivalent that takes a signal number
type: enhancement
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43356>
_______________________________________


More information about the New-bugs-announce mailing list