diff options
author | Victor Stinner <vstinner@python.org> | 2019-12-06 01:43:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-06 01:43:30 (GMT) |
commit | 81fe5bd3d78f9bb955f8255404d99df27a31c36a (patch) | |
tree | 84cea2b30986366a4c2f5a23b3d9858deb078f29 /Include | |
parent | 44ea525ca56ad8ef783cbcd3a0636a425e5d801a (diff) | |
download | cpython-81fe5bd3d78f9bb955f8255404d99df27a31c36a.zip cpython-81fe5bd3d78f9bb955f8255404d99df27a31c36a.tar.gz cpython-81fe5bd3d78f9bb955f8255404d99df27a31c36a.tar.bz2 |
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().
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_pylifecycle.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/internal/pycore_pylifecycle.h b/Include/internal/pycore_pylifecycle.h index cd3be21..4e4bbc2 100644 --- a/Include/internal/pycore_pylifecycle.h +++ b/Include/internal/pycore_pylifecycle.h @@ -40,7 +40,6 @@ extern PyObject * _PyBuiltin_Init(PyThreadState *tstate); extern PyStatus _PySys_Create( PyThreadState *tstate, PyObject **sysmod_p); -extern PyStatus _PySys_SetPreliminaryStderr(PyObject *sysdict); extern PyStatus _PySys_ReadPreinitWarnOptions(PyWideStringList *options); extern PyStatus _PySys_ReadPreinitXOptions(PyConfig *config); extern int _PySys_InitMain(PyThreadState *tstate); |