Skip to content
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

bpo-32030: Add _PyCoreConfig_Copy() #4874

Merged
merged 1 commit into from
Dec 15, 2017
Merged

bpo-32030: Add _PyCoreConfig_Copy() #4874

merged 1 commit into from
Dec 15, 2017

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Dec 14, 2017

Each interpreter now has its core_config and main_config copy:

  • Add _PyCoreConfig_Copy() and _PyMainInterpreterConfig_Copy()
  • Move _PyCoreConfig_Read(), _PyCoreConfig_Clear() and
    _PyMainInterpreterConfig_Clear() from Python/pylifecycle.c to
    Modules/main.c
  • Fix _Py_InitializeEx_Private(): call _PyCoreConfig_ReadEnv() before
    _Py_InitializeCore()

https://bugs.python.org/issue32030

Each interpreter now has its core_config and main_config copy:

* Add _PyCoreConfig_Copy() and _PyMainInterpreterConfig_Copy()
* Move _PyCoreConfig_Read(), _PyCoreConfig_Clear() and
  _PyMainInterpreterConfig_Clear() from Python/pylifecycle.c to
  Modules/main.c
* Fix _Py_InitializeEx_Private(): call _PyCoreConfig_ReadEnv() before
  _Py_InitializeCore()
@vstinner vstinner merged commit da27341 into python:master Dec 15, 2017
@vstinner vstinner deleted the config_copy branch December 15, 2017 00:46
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