]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38858: new_interpreter() reuses _PySys_Create() (GH-17481)
authorVictor Stinner <vstinner@python.org>
Fri, 6 Dec 2019 01:43:30 +0000 (02:43 +0100)
committerGitHub <noreply@github.com>
Fri, 6 Dec 2019 01:43:30 +0000 (02:43 +0100)
commit81fe5bd3d78f9bb955f8255404d99df27a31c36a
tree84cea2b30986366a4c2f5a23b3d9858deb078f29
parent44ea525ca56ad8ef783cbcd3a0636a425e5d801a
bpo-38858: new_interpreter() reuses _PySys_Create() (GH-17481)

new_interpreter() now calls _PySys_Create() to create a new sys
module isolated from the main interpreter. It now calls
_PySys_InitCore() and _PyImport_FixupBuiltin().

init_interp_main() now calls _PySys_InitMain().
Include/internal/pycore_pylifecycle.h
Python/pylifecycle.c
Python/sysmodule.c