• Victor Stinner's avatar
    bpo-32030: Add _PyPathConfig_Init() (#4551) · 9316ee4d
    Victor Stinner yazdı
    * Add _PyPathConfig_Init() and _PyPathConfig_Fini()
    * Remove _Py_GetPathWithConfig()
    * _PyPathConfig_Init() returns _PyInitError to allow to handle errors
      properly
    * Add pathconfig_clear()
    * Windows calculate_path_impl(): replace Py_FatalError() with
      _PyInitError
    * Py_FinalizeEx() now calls _PyPathConfig_Fini() to release memory
    * Fix _Py_InitializeMainInterpreter() regression: don't initialize
      path config if _disable_importlib is false
    * PyPathConfig now uses dynamically allocated memory
    9316ee4d
getpathp.c 35.4 KB