Files
cpython/Include
Victor Stinner 0327bde9da bpo-32030: Rewrite calculate_path() (#4521)
* calculate_path() rewritten in Modules/getpath.c and PC/getpathp.c
* Move global variables into a new PyPathConfig structure.
* calculate_path():

  * Split the huge calculate_path() function into subfunctions.
  * Add PyCalculatePath structure to pass data between subfunctions.
  * Document PyCalculatePath fields.
  * Move cleanup code into a new calculate_free() subfunction
  * calculate_init() now handles Py_DecodeLocale() failures properly
  * calculate_path() is now atomic: only replace PyPathConfig
    (path_config) at once on success.

* _Py_GetPythonHomeWithConfig() now returns an error on failure
* Add _Py_INIT_NO_MEMORY() helper: report a memory allocation failure
* Coding style fixes (PEP 7)
2017-11-23 17:03:20 +01:00
..
2017-08-03 09:00:59 +03:00
2016-09-18 18:00:25 -07:00
2017-10-17 02:10:44 -04:00
2017-11-15 18:11:45 -08:00
2017-09-29 15:53:19 -07:00
2017-09-29 15:53:19 -07:00
2016-09-19 22:16:36 -07:00
2017-09-14 18:13:16 -07:00