STINNER Victor <vstin...@python.org> added the comment:
Python 3.8 was released in October 2019 with this change (PyInterpreterState structure is now opaque). Fedora 32 is going to be released soon with Python 3.8 as /usr/bin/python. The change only broke very few projets: cffi (which indirectly broke brotlipy and httpbin), Blender, FreeBSD. Fixes are trivial: * Replace "interp->modules" with PyImport_GetModuleDict() * Replace "interp->builtins" with PyEval_GetBuiltins() I close the issue. Well done Eric! ---------- components: +C API resolution: -> fixed status: open -> closed title: Move PyInterpreterState into Include/internal/pycore_pystate.h -> [C API] Make PyInterpreterState opaque: move it into the internal C API (internal/pycore_pystate.h) _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35886> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com