Skip to content

bpo-34170: Enhance _PyCoreConfig_Read()#8468

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:fix_readconf
Jul 26, 2018
Merged

bpo-34170: Enhance _PyCoreConfig_Read()#8468
vstinner merged 1 commit intopython:masterfrom
vstinner:fix_readconf

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jul 25, 2018

  • 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.

https://bugs.python.org/issue34170

* 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.
@vstinner vstinner merged commit ecf411c into python:master Jul 26, 2018
@vstinner vstinner deleted the fix_readconf branch July 26, 2018 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants