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