New submission from Antoine Pitrou <pit...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue43356> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com