cpython/Programs
Victor Stinner 9ee1d42f01
bpo-35233: InitConfigTests tests more config vars (GH-10541) (GH-10546)
test_embed.InitConfigTests tests more configuration variables.

Changes:

* InitConfigTests tests more core configuration variables:

  * base_exec_prefix
  * base_prefix
  * exec_prefix
  * home
  * module_search_path_env
  * prefix

* "_testembed init_from_config" tests more variables:

  * argv
  * warnoptions
  * xoptions

* Py_HasFileSystemDefaultEncoding value is no longer tested since it
  depends on the LC_CTYPE locale and the platform.
* 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).
* Use more macros in _PyCoreConfig_AsDict() and
  _PyMainInterpreterConfig_AsDict() to reduce code duplication.
* Other minor cleanups.

(cherry picked from commit 01de89cb59)
2018-11-14 18:58:01 +01:00
..
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
_freeze_importlib.c [3.7] bpo-34247: Fix Python 3.7 initialization (#8659) 2018-08-05 12:31:59 +02:00
_testembed.c bpo-35233: InitConfigTests tests more config vars (GH-10541) (GH-10546) 2018-11-14 18:58:01 +01:00
python.c Revert "[3.7] bpo-34589: Add -X coerce_c_locale option; C locale coercion off by default (GH-9379)" (GH-9416) 2018-09-19 12:01:52 -07:00

README

Source files for binary executables (as opposed to shared modules)