mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-36301: Remove _PyCoreConfig.preconfig (GH-12546)
* Replace _PyCoreConfig.preconfig with 3 new fields in _PyCoreConfig: isolated, use_environment, dev_mode. * Add _PyPreCmdline.dev_mode. * Add _Py_PreInitializeFromPreConfigInPlace().
This commit is contained in:
parent
f78a5e9ce8
commit
20004959d2
13 changed files with 179 additions and 145 deletions
|
@ -77,7 +77,7 @@ main(int argc, char *argv[])
|
|||
text[text_size] = '\0';
|
||||
|
||||
_PyCoreConfig config = _PyCoreConfig_INIT;
|
||||
config.preconfig.use_environment = 0;
|
||||
config.use_environment = 0;
|
||||
config.user_site_directory = 0;
|
||||
config.site_import = 0;
|
||||
config.program_name = L"./_freeze_importlib";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue