Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented May 17, 2019

_PyPreConfig_InitPythonConfig() and _PyCoreConfig_InitPythonConfig()
no longer inherit their values from global configuration variables.

Changes:

  • _PyPreCmdline_Read() now ignores -X dev and PYTHONDEVMODE
    if dev_mode is already set.
  • Inline _PyPreConfig_INIT macro into _PyPreConfig_Init() function.
  • Inline _PyCoreConfig_INIT macro into _PyCoreConfig_Init() function.
  • Replace _PyCoreConfig_Init() with _PyCoreConfig_InitPythonConfig()
    in most tests of _testembed.c.
  • Replace _PyCoreConfig_Init() with _PyCoreConfig_InitIsolatedConfig()
    in _freeze_importlib.c.
  • Move some initialization functions from the internal
    to the private API.

https://bugs.python.org/issue36763

_PyPreConfig_InitPythonConfig() and _PyCoreConfig_InitPythonConfig()
no longer inherit their values from global configuration variables.

Changes:

* _PyPreCmdline_Read() now ignores -X dev and PYTHONDEVMODE
  if dev_mode is already set.
* Inline _PyPreConfig_INIT macro into _PyPreConfig_Init() function.
* Inline _PyCoreConfig_INIT macro into _PyCoreConfig_Init() function.
* Replace _PyCoreConfig_Init() with _PyCoreConfig_InitPythonConfig()
  in most tests of _testembed.c.
* Replace _PyCoreConfig_Init() with _PyCoreConfig_InitIsolatedConfig()
  in _freeze_importlib.c.
* Move some initialization functions from the internal
  to the private API.
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