]> granicus.if.org Git - python/commit
bpo-32030: Complete _PyCoreConfig_Read() (#4946)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 20 Dec 2017 18:36:46 +0000 (19:36 +0100)
committerGitHub <noreply@github.com>
Wed, 20 Dec 2017 18:36:46 +0000 (19:36 +0100)
commit9cfc00262c7f6b93072762eed1dc5d94fa3897f0
treef40640841b04f938fc3b0a0628fa5c680887fd9e
parent51eb1c6b9c0b382dfd6e0428eacff0c7891a6fc3
bpo-32030: Complete _PyCoreConfig_Read() (#4946)

* Add _PyCoreConfig.install_signal_handlers
* Remove _PyMain.config: _PyMainInterpreterConfig usage is now
  restricted to pymain_init_python_main().
* Rename _PyMain.core_config to _PyMain.config
* _PyMainInterpreterConfig_Read() now creates the xoptions dictionary
   from the core config
* Fix _PyMainInterpreterConfig_Read(): don't replace xoptions and
  argv if they are already set.
Include/pystate.h
Modules/main.c
Python/pylifecycle.c