We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a08dbf7 commit bbb2e37Copy full SHA for bbb2e37
1 file changed
Doc/c-api/init.rst
@@ -1580,6 +1580,15 @@ function. You can create and destroy them using the following functions:
1580
If this is :c:macro:`PyInterpreterConfig_OWN_GIL` then
1581
:c:member:`PyInterpreterConfig.use_main_obmalloc` must be ``0``.
1582
1583
+ .. c:member:: int can_handle_signals
1584
+
1585
+ If this is ``0``, then the interpreter will ignore incoming signals when
1586
+ it is running on the main thread. These signals will instead be handled
1587
+ by the next interpreter in the main thread that is capable of handling
1588
+ signals.
1589
1590
+ .. versionadded:: next
1591
1592
1593
.. c:function:: PyStatus Py_NewInterpreterFromConfig(PyThreadState **tstate_p, const PyInterpreterConfig *config)
1594
0 commit comments