Skip to content

Commit fe6c34f

Browse files
committed
Update stable ABI.
1 parent 1ae8eda commit fe6c34f

File tree

5 files changed

+27
-0
lines changed

5 files changed

+27
-0
lines changed

Doc/data/stable_abi.dat

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Lib/test/test_stable_abi_ctypes.py

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Misc/stable_abi.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2333,6 +2333,15 @@
23332333
added = '3.12'
23342334
[function.PyVectorcall_Call]
23352335
added = '3.12'
2336+
[function.PyErr_GetRaisedException]
2337+
added = '3.12'
2338+
[function.PyErr_SetRaisedException]
2339+
added = '3.12'
2340+
[function.PyException_GetArgs]
2341+
added = '3.12'
2342+
[function.PyException_SetArgs]
2343+
added = '3.12'
2344+
23362345
[typedef.vectorcallfunc]
23372346
added = '3.12'
23382347
[function.PyObject_Vectorcall]

PC/python3dll.c

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/errors.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ PyErr_Restore(PyObject *type, PyObject *value, PyObject *traceback)
7373
_PyErr_Restore(tstate, type, value, traceback);
7474
}
7575

76+
void
77+
PyErr_SetRaisedException(PyObject *exc)
78+
{
79+
PyThreadState *tstate = _PyThreadState_GET();
80+
_PyErr_SetRaisedException(tstate, exc);
81+
}
7682

7783
_PyErr_StackItem *
7884
_PyErr_GetTopmostException(PyThreadState *tstate)

0 commit comments

Comments
 (0)