summaryrefslogtreecommitdiff
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-11-20 18:39:12 +0100
committerGitHub <noreply@github.com>2019-11-20 18:39:12 +0100
commitb93f31fcd9f10b213c614d4944baf9ca2df2016c (patch)
tree41df423e9ce834db623f3c14e24fca756ab45b4f /Python/modsupport.c
parentde148f263fba75cd10d2cb010fe9c495cee4ec83 (diff)
downloadcpython-git-b93f31fcd9f10b213c614d4944baf9ca2df2016c.tar.gz
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.
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions