Message336501
Just so you know, when we look at the changes to CPython, the easiest fix is to add these lines in cffi:
#if PY_VERSION_HEX >= 0x03080000
# define Py_BUILD_CORE
# include "internal/pycore_pystate.h"
# undef Py_BUILD_CORE
#endif
But if we're looking for a cleaner way to fix this, then cffi's needs could be covered by adding a general-purpose-storage dict to PyInterpreterState (like PyThreadState->dict, but per sub-interpreter instead of per thread), and an API function to get it. |
|
Date |
User |
Action |
Args |
2019-02-25 07:49:01 | arigo | set | recipients:
+ arigo, ncoghlan, vstinner, njs, eric.snow |
2019-02-25 07:49:01 | arigo | set | messageid: <1551080941.15.0.781835897087.issue35886@roundup.psfhosted.org> |
2019-02-25 07:49:01 | arigo | link | issue35886 messages |
2019-02-25 07:49:01 | arigo | create | |
|