Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Mar 20, 2019

  • Add _PyRuntime.pre_initialized: set to 1 when Python
    is pre-initialized
  • Add _Py_PreInitialize() and _Py_PreInitializeFromPreConfig().
  • _PyCoreConfig_Read() now calls _Py_PreInitialize().
  • Move _PyPreConfig_GetGlobalConfig() and
    _PyCoreConfig_GetGlobalConfig() calls from main.c to preconfig.c
    and coreconfig.c.

https://bugs.python.org/issue36301

* Add _PyRuntime.pre_initialized: set to 1 when Python is pre-initialized * Add _Py_PreInitialize() and _Py_PreInitializeFromPreConfig(). * _PyCoreConfig_Read() now calls _Py_PreInitialize(). * Move _PyPreConfig_GetGlobalConfig() and _PyCoreConfig_GetGlobalConfig() calls from main.c to preconfig.c and coreconfig.c.
@vstinner vstinner merged commit f29084d into python:master Mar 20, 2019
@vstinner vstinner deleted the runtime_preinit branch March 20, 2019 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants