• Victor Stinner's avatar
    bpo-35233: InitConfigTests tests more config vars (GH-10541) · 01de89cb
    Victor Stinner yazdı
    test_embed.InitConfigTests tests more configuration variables.
    
    Changes:
    
    * InitConfigTests tests more core configuration variables:
    
      * base_exec_prefix
      * base_prefix
      * exec_prefix
      * home
      * legacy_windows_fs_encoding
      * legacy_windows_stdio
      * module_search_path_env
      * prefix
    
    * "_testembed init_from_config" tests more variables:
    
      * argv
      * warnoptions
      * xoptions
    
    * InitConfigTests: add check_global_config(), check_core_config() and
      check_main_config() subfunctions to cleanup the code. Move also
      constants at the class level (ex: COPY_MAIN_CONFIG).
    * Fix _PyCoreConfig_AsDict(): don't set stdio_encoding twice
    * Use more macros in _PyCoreConfig_AsDict() and
      _PyMainInterpreterConfig_AsDict() to reduce code duplication.
    * Other minor cleanups.
    01de89cb
Adı
Son kayıt (commit)
Son güncelleme
.azure-pipelines Loading commit data...
.github Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Programs Loading commit data...
Python Loading commit data...
Tools Loading commit data...
m4 Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README.rst Loading commit data...
aclocal.m4 Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...