1. 29 Jul, 2018 3 commits
  2. 28 Jul, 2018 9 commits
  3. 27 Jul, 2018 4 commits
  4. 26 Jul, 2018 10 commits
  5. 25 Jul, 2018 10 commits
  6. 24 Jul, 2018 4 commits
    • Victor Stinner's avatar
      bpo-34170: Add _PyCoreConfig.bytes_warning (GH-8447) · 53b7d4e4
      Victor Stinner authored
      Add more fields to _PyCoreConfig:
      
      * _check_hash_pycs_mode
      * bytes_warning
      * debug
      * inspect
      * interactive
      * legacy_windows_fs_encoding
      * legacy_windows_stdio
      * optimization_level
      * quiet
      * unbuffered_stdio
      * user_site_directory
      * verbose
      * write_bytecode
      
      Changes:
      
      * Remove pymain_get_global_config() and pymain_set_global_config()
        which became useless. These functions have been replaced by
        _PyCoreConfig_GetGlobalConfig() and
        _PyCoreConfig_SetGlobalConfig().
      * sys.flags.dont_write_bytecode value is now restricted to 1 even if
        -B option is specified multiple times on the command line.
      * PyThreadState_Clear() now uses the config from the current
        interpreter rather than using global Py_VerboseFlag
      53b7d4e4
    • Mariatta's avatar
      Fix site module documentation. (GH-8441) · 95d34c2a
      Mariatta authored
      The script will exit with the number 0 (zero), instead of the letter O.
      95d34c2a
    • Serhiy Storchaka's avatar
    • Victor Stinner's avatar
      bpo-34170: Add _PyCoreConfig.isolated (GH-8417) · d19d8d52
      Victor Stinner authored
      * _PyCoreConfig: add isolated and site_import attributes
      * Replace Py_IgnoreEnvironment with config->ignore_environment when
        reading the current configuration
      * _PyCoreConfig_Read() now sets ignore_environment, utf8_mode,
        isolated and site_import from Py_IgnoreEnvironment, Py_UTF8Mode,
        Py_IsolatedFlag and Py_NoSiteFlag
      * _Py_InitializeCore() now sets Py_xxx flags from the configuration
      * pymain_read_conf() now uses _PyCoreConfig_Copy() to save/restore
        the configuration.
      * Rename _disable_importlib of _PyCoreConfig to _install_importlib
      * _PyCoreConfig_SetGlobalConfig() now also set
        Py_HashRandomizationFlag
      * Replace !Py_NoSiteFlag with core_config->site_import
      d19d8d52