Author arigo
Recipients arigo, eric.snow, ncoghlan, njs, vstinner
Date 2019-02-25.07:49:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551080941.15.0.781835897087.issue35886@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-02-25 07:49:01arigosetrecipients: + arigo, ncoghlan, vstinner, njs, eric.snow
2019-02-25 07:49:01arigosetmessageid: <1551080941.15.0.781835897087.issue35886@roundup.psfhosted.org>
2019-02-25 07:49:01arigolinkissue35886 messages
2019-02-25 07:49:01arigocreate