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 da8cbf0 commit 2f7b92eCopy full SHA for 2f7b92e
Doc/c-api/init.rst
@@ -1369,6 +1369,11 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
1369
Boost library's ``boost::context``, you must call
1370
:c:func:`~PyUnstable_ThreadState_SetStack` to inform CPython of the change.
1371
1372
+ Call :c:func:`~PyUnstable_ThreadState_SetStack` either before
1373
+ or after changing the stack.
1374
+ Do not call any other Python C API between the call and the stack
1375
+ change.
1376
+
1377
See :c:func:`PyUnstable_ThreadState_ResetStack` for undoing this operation.
1378
1379
.. versionadded:: next
0 commit comments