1. 25 Sep, 2019 12 commits
  2. 24 Sep, 2019 9 commits
  3. 23 Sep, 2019 4 commits
    • Victor Stinner's avatar
      bpo-38234: read_pth_file() now returns PyStatus (GH-16338) · 85ce0a71
      Victor Stinner authored
      Refactor path configuration code:
      
      * read_pth_file() now returns PyStatus to report errors, rather than
        calling Py_FatalError().
      * Move argv0_path and zip_path buffers out of PyCalculatePath
        structures.
      * On Windows, _PyPathConfig.home is now preferred over PyConfig.home.
      85ce0a71
    • Victor Stinner's avatar
      bpo-38234: Fix _PyConfig_InitPathConfig() (GH-16335) · 9c42f8cd
      Victor Stinner authored
      * _PyConfig_InitPathConfig() now starts by copying the global path
        configuration, and then override values set in PyConfig.
      * _PyPathConfig_Calculate() implementations no longer override
        _PyPathConfig fields which are already computed. For example,
        if _PyPathConfig.prefix is not NULL, leave it unchanged.
      * If Py_SetPath() has been called, _PyConfig_InitPathConfig() doesn't
        call _PyPathConfig_Calculate() anymore.
      * _PyPathConfig_Calculate() no longer uses PyConfig,
        except to initialize PyCalculatePath structure.
      * pathconfig_calculate(): remove useless temporary
        "_PyPathConfig new_config" variable.
      * calculate_module_search_path(): remove hack to workaround memory
        allocation failure, call Py_FatalError() instead.
      * Fix get_program_full_path(): handle memory allocation failure.
      9c42f8cd
    • Victor Stinner's avatar
      bpo-38236: Fix init_dump_ascii_wstr() (GH-16333) · 88e64474
      Victor Stinner authored
      Add missing "return;" (to not dereference NULL pointer).
      88e64474
    • Victor Stinner's avatar
      bpo-38236: Dump path config at first import error (GH-16300) · fcdb0272
      Victor Stinner authored
      Python now dumps path configuration if it fails to import the Python
      codecs of the filesystem and stdio encodings.
      fcdb0272
  4. 22 Sep, 2019 2 commits
  5. 21 Sep, 2019 5 commits
  6. 20 Sep, 2019 8 commits