Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Dec 1, 2017

  • 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.

https://bugs.python.org/issue32030

* 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.
@vstinner vstinner requested a review from a team as a code owner December 1, 2017 17:01
@vstinner vstinner merged commit b64de46 into python:master Dec 1, 2017
@vstinner vstinner deleted the path_config2 branch December 1, 2017 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants