summaryrefslogtreecommitdiffstats
path: root/Python/executor_cases.c.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2024-05-07 04:21:51 (GMT)
committerGitHub <noreply@github.com>2024-05-07 04:21:51 (GMT)
commitb2cd54a4fb2ecdb7b1d30bda8af3314d3a32031e (patch)
tree829360e381eef6107cb2aa836bd7c4d79e77f514 /Python/executor_cases.c.h
parent1a23716d4ba6c6dadd76a3662db580f451f660e3 (diff)
downloadcpython-b2cd54a4fb2ecdb7b1d30bda8af3314d3a32031e.zip
cpython-b2cd54a4fb2ecdb7b1d30bda8af3314d3a32031e.tar.gz
cpython-b2cd54a4fb2ecdb7b1d30bda8af3314d3a32031e.tar.bz2
gh-117953: Always Run Extension Init Func in Main Interpreter First (gh-118157)
This change makes sure all extension/builtin modules have their init function run first by the main interpreter before proceeding with import in the original interpreter (main or otherwise). This means when the import of a single-phase init module fails in an isolated subinterpreter, it won't tie any global state/callbacks to the subinterpreter.
Diffstat (limited to 'Python/executor_cases.c.h')
0 files changed, 0 insertions, 0 deletions