commit | b64de46aae148cfab0980e0ad478da7aafc44900 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Dec 01 18:27:09 2017 +0100 |
committer | GitHub <noreply@github.com> | Fri Dec 01 18:27:09 2017 +0100 |
tree | 08df481be4201aeb0c8875c115168d4c4e055140 | |
parent | 8f5c28b19374df47ebe3d665e54c1dda5c2d7dca [diff] |
bpo-32030: Cleanup "path config" code (#4663) * Rename PyPathConfig structure to _PyPathConfig and move it to Include/internal/pystate.h * Rename path_config to _Py_path_config * _PyPathConfig: Rename program_name field to program_full_path * Add assert(str != NULL); to _PyMem_RawWcsdup(), _PyMem_RawStrdup() and _PyMem_Strdup(). * Rename calculate_path() to pathconfig_global_init(). The function now does nothing if it's already initiallized.