Skip to content

bpo-38858: new_interpreter() reuses _PySys_Create() #17481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 6, 2019
Merged

bpo-38858: new_interpreter() reuses _PySys_Create() #17481

merged 1 commit into from
Dec 6, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Dec 6, 2019

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().

https://bugs.python.org/issue38858

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().
@vstinner vstinner merged commit 81fe5bd into python:master Dec 6, 2019
@vstinner vstinner deleted the sys_create branch December 6, 2019 01:43
pablogsal added a commit to pablogsal/cpython that referenced this pull request Dec 8, 2019
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
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().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants