Skip to content

bpo-36301: Add _Py_PreInitializeFromConfig()#12536

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:preinit_from_config
Mar 25, 2019
Merged

bpo-36301: Add _Py_PreInitializeFromConfig()#12536
vstinner merged 1 commit intopython:masterfrom
vstinner:preinit_from_config

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Mar 25, 2019

  • Initialize _PyPreConfig.dev_mode to -1.
  • _PyPreConfig_Read(): coreconfig has the priority over preconfig.
  • _PyCoreConfig_Read() now calls _PyPreCmdline_Read() internally.
  • config_from_cmdline() now pass _PyPreCmdline to config_read().
  • Add _PyPreCmdline_Copy().

https://bugs.python.org/issue36301

* Initialize _PyPreConfig.dev_mode to -1.
* _PyPreConfig_Read(): coreconfig has the priority over preconfig.
* _PyCoreConfig_Read() now calls _PyPreCmdline_Read() internally.
* config_from_cmdline() now pass _PyPreCmdline to config_read().
* Add _PyPreCmdline_Copy().
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