Message334734
FWIW, I was hoping to the same for PyThreadState but it looks like 6 of its fields are exposed in "stable" header files via the following macros:
# Include/object.h
Py_TRASHCAN_SAFE_BEGIN
Py_TRASHCAN_SAFE_END
Include.ceval.h
Py_EnterRecursiveCall
Py_LeaveRecursiveCall
_Py_MakeRecCheck
Py_ALLOW_RECURSION
Py_END_ALLOW_RECURSION
I'm not sure how that factors into the stable ABI (PyThreadState wasn't ever guarded by Py_LIMITED_API). However, I didn't need to deal with it right now so I'm not going to go there. :) |
|
Date |
User |
Action |
Args |
2019-02-02 01:32:47 | eric.snow | set | recipients:
+ eric.snow, vstinner |
2019-02-02 01:32:46 | eric.snow | set | messageid: <1549071166.33.0.722526577548.issue35886@roundup.psfhosted.org> |
2019-02-02 01:32:46 | eric.snow | link | issue35886 messages |
2019-02-02 01:32:46 | eric.snow | create | |
|