Nick Coghlan added the comment: I just checked the docs, and it turns out I'm wrong about this being a previously public API: "There are no public members in this structure."
>From https://docs.python.org/3/c-api/init.html#c.PyInterpreterState That means the only externally supported API that needs to be preserved is PyImport_GetModuleDict() to get the current thread's module cache, and your original patch already did that. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28411> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com