]> granicus.if.org Git - python/commit
bpo-36301: Remove _PyCoreConfig.preconfig (GH-12546)
authorVictor Stinner <vstinner@redhat.com>
Tue, 26 Mar 2019 01:31:11 +0000 (02:31 +0100)
committerGitHub <noreply@github.com>
Tue, 26 Mar 2019 01:31:11 +0000 (02:31 +0100)
commit20004959d23d07ac784eef51ecb161012180faa8
tree7fcc04b0924c2180d234196d3886e58cb57e2609
parentf78a5e9ce8f32a195f5f788aade79578437f30a6
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().
13 files changed:
Include/cpython/coreconfig.h
Include/cpython/pylifecycle.h
Include/internal/pycore_coreconfig.h
Include/internal/pycore_pylifecycle.h
Lib/test/test_embed.py
Modules/main.c
Programs/_freeze_importlib.c
Programs/_testembed.c
Python/coreconfig.c
Python/pathconfig.c
Python/preconfig.c
Python/pylifecycle.c
Python/sysmodule.c