Skip to content

bpo-36710: Add runtime variable to Py_InitializeEx()#12939

Merged
vstinner merged 2 commits intopython:masterfrom
vstinner:init_runtime
Apr 24, 2019
Merged

bpo-36710: Add runtime variable to Py_InitializeEx()#12939
vstinner merged 2 commits intopython:masterfrom
vstinner:init_runtime

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Apr 24, 2019

Py_InitializeEx() now uses a runtime variable passed to subfunctions,
rather than working directly on the global variable _PyRuntime.

Add 'runtime' parameter to _PyCoreConfig_Write(), _PySys_Create(),
_PySys_InitMain(), _PyGILState_Init(),
emit_stderr_warning_for_legacy_locale() and other subfunctions.

https://bugs.python.org/issue36710

Py_InitializeEx() now uses a runtime variable passed to subfunctions,
rather than working directly on the global variable _PyRuntime.

Add 'runtime' parameter to _PyCoreConfig_Write(), _PySys_Create(),
_PySys_InitMain(), _PyGILState_Init(),
emit_stderr_warning_for_legacy_locale() and other subfunctions.
@vstinner vstinner merged commit 4312522 into python:master Apr 24, 2019
@vstinner vstinner deleted the init_runtime branch April 24, 2019 16:23
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