Staging
v0.5.1
https://github.com/python/cpython
Revision 3f5409a3f13c59baa34656bccefdc3728e46c9ef authored by Victor Stinner on 23 September 2019, 17:50:27 UTC, committed by GitHub on 23 September 2019, 17:50:27 UTC
* _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.

(cherry picked from commit 9c42f8cda552694f3b47d6388d4ae84d61731872)
1 parent c5c6425
History
Tip revision: 3f5409a3f13c59baa34656bccefdc3728e46c9ef authored by Victor Stinner on 23 September 2019, 17:50:27 UTC
bpo-38234: Fix _PyConfig_InitPathConfig() (GH-16335) (GH-16336)
Tip revision: 3f5409a
File Mode Size
ax_c_float_words_bigendian.m4 -rw-r--r-- 3.1 KB
ax_check_openssl.m4 -rw-r--r-- 4.1 KB

back to top