commit | b93f31fcd9f10b213c614d4944baf9ca2df2016c | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Wed Nov 20 18:39:12 2019 +0100 |
committer | GitHub <noreply@github.com> | Wed Nov 20 18:39:12 2019 +0100 |
tree | 41df423e9ce834db623f3c14e24fca756ab45b4f | |
parent | de148f263fba75cd10d2cb010fe9c495cee4ec83 [diff] |
bpo-38858: Fix Py_Finalize() when called from a subinterpreter (GH-17297) Use _Py_IsMainInterpreter() in Py_Initialize() and Py_Finalize() to detect if the current interpreter is the main interpreter or not.