Message 361812 - Python tracker
> This happens on a custom C module (built via Cython) when using including <internal/pystate.h> with -DPy_BUILD_CORE. I'm not sure it'd happen otherwise. By the way, I don't think that wheel packages are designed to C extensions accessing Python internals. The internal C API is excluded from the stable ABI.