Browse Source
bpo-36301: Add _Py_PreInitializeFromConfig() (GH-12536)
bpo-36301: Add _Py_PreInitializeFromConfig() (GH-12536)
* 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().pull/12540/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 155 additions and 24 deletions
-
4Include/cpython/coreconfig.h
-
2Include/cpython/pylifecycle.h
-
14Include/internal/pycore_coreconfig.h
-
62Python/coreconfig.c
-
62Python/preconfig.c
-
35Python/pylifecycle.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue