Nick Coghlan <ncogh...@gmail.com> added the comment: Hmm, I don't think calling Py_Finalize in any interpreter other than the main one is actually defined at all, so I'm inclined to just make it an error, rather than trying to figure out how it should work. It would then be up to the embedding application to make sure it switched back to the main interpreter before calling Py_Finalize.
(We don't have this concern with Py_Initialize, since that *creates* the main interpreter) ---------- nosy: +eric.snow, grahamd _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31901> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com