[New-bugs-announce] [issue43256] Document that PyErr_SetInterrupt is async-signal-safe

Antoine Pitrou report at bugs.python.org
Thu Feb 18 09:31:32 EST 2021


New submission from Antoine Pitrou <pitrou at 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 at python
components: C API, Documentation
messages: 387234
nosy: docs at 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 at bugs.python.org>
<https://bugs.python.org/issue43256>
_______________________________________


More information about the New-bugs-announce mailing list