[WIP] bpo-36301: Add _Py_PreInitialize() function by vstinner · Pull Request #12351 · python/cpython
* Add _PyRuntimeState.preconfig field. _PyPreConfig_Write() now writes the applied pre-configuration into _PyRuntimeState.preconfig. * Add _Py_PreInitialize() and _Py_PreInitializeFromPreConfig() functions * _PyCoreConfig_Read() now calls _Py_PreInitialize() to ensure that Python is pre-configured. It reads the pre-configuration from _PyRuntime.
vstinner
changed the title
bpo-36301: Add _Py_PreInitialize() function
[WIP] bpo-36301: Add _Py_PreInitialize() function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters