]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46008: Add _PyInterpreterState_Main(). (gh-29978)
authorEric Snow <ericsnowcurrently@gmail.com>
Wed, 8 Dec 2021 01:56:06 +0000 (18:56 -0700)
committerGitHub <noreply@github.com>
Wed, 8 Dec 2021 01:56:06 +0000 (18:56 -0700)
commit758b74e71eb22e1e83a9eb937d1c015e461745a1
tree10eab2bb7eef9b653409593146c72f5d491f0dd3
parent1f384e318481532323bb9076f4447bc02da07209
bpo-46008: Add _PyInterpreterState_Main(). (gh-29978)

PyInterpreterState_Main() is a plain function exposed in the public C-API. For internal usage we can take the more efficient approach in this PR.

https://bugs.python.org/issue46008
Include/internal/pycore_pystate.h
Modules/posixmodule.c
Python/pylifecycle.c
Python/pystate.c