New submission from Antoine Pitrou pitrou@free.fr:
While this makes sense given the exposed functionality, the reader may be wary of calling PyErr_SetInterrupt from a C signal handler if it's not explicitly documented as signal-safe.
---------- assignee: docs@python components: C API, Documentation messages: 387234 nosy: docs@python, pablogsal, pitrou, vstinner priority: low severity: normal status: open title: Document that PyErr_SetInterrupt is async-signal-safe type: behavior versions: Python 3.10, Python 3.8, Python 3.9
_______________________________________ Python tracker report@bugs.python.org https://bugs.python.org/issue43256 _______________________________________