]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34170: Enhance _PyCoreConfig_Read() (GH-8468)
authorVictor Stinner <vstinner@redhat.com>
Thu, 26 Jul 2018 00:37:22 +0000 (02:37 +0200)
committerGitHub <noreply@github.com>
Thu, 26 Jul 2018 00:37:22 +0000 (02:37 +0200)
commitecf411c59e33d3760dbfebf6d5b4b205bcc29d5a
tree43bd3ffa6039eeb5f19a493fa72f70b5e0544dcf
parent48ed88a93bb0bbeaae9a4cfaa533e4edf13bcb51
bpo-34170: Enhance _PyCoreConfig_Read() (GH-8468)

* Inline cmdline_get_env_flags() into config_read_env_vars():
  _PyCoreConfig_Read() now reads much more environment variables like
  PYTHONVERBOSE.
* Allow to override faulthandler and allocator even if dev_mode=1.
  PYTHONMALLOC is now the priority over PYTHONDEVMODE.
* Fix _PyCoreConfig_Copy(): copy also install_signal_handlers,
  coerce_c_locale and coerce_c_locale_warn
* _PyCoreConfig.install_signal_handlers default is now 1: install
  signals by default
* Fix also a compiler warning: don't define _PyPathConfig type twice.
Include/pylifecycle.h
Include/pystate.h
Lib/test/test_cmd_line.py
Misc/NEWS.d/next/Core and Builtins/2018-07-25-19-23-33.bpo-34170.v1h_H2.rst [new file with mode: 0644]
Modules/main.c