◐ Shell
clean mode source ↗

bpo-36301: Add _Py_PreInitializeFromConfig() by vstinner · Pull Request #12536 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

vstinner

merged 1 commit into

Mar 25, 2019

Conversation

@vstinner

  • 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().

Labels