Skip to content

bpo-38353: getpath.c: allocates strings on the heap#16585

Merged
vstinner merged 3 commits intopython:masterfrom
vstinner:getpath_alloc2
Oct 4, 2019
Merged

bpo-38353: getpath.c: allocates strings on the heap#16585
vstinner merged 3 commits intopython:masterfrom
vstinner:getpath_alloc2

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Oct 4, 2019

  • _Py_FindEnvConfigValue() now returns a string allocated
    by PyMem_RawMalloc().
  • calculate_init() now decodes VPATH macro.
  • Add calculate_open_pyenv() function.
  • Add substring() and joinpath2() functions.

https://bugs.python.org/issue38353

* _Py_FindEnvConfigValue() now returns a string allocated
  by PyMem_RawMalloc().
* calculate_init() now decodes VPATH macro.
* Add calculate_open_pyenv() function.
* Add substring() and joinpath2() functions.
And a few cleanup changes.
@vstinner
Copy link
Copy Markdown
Member Author

vstinner commented Oct 4, 2019

Reminder for myself: ensure that the macOS job of Azure Pipelines works :-)

@vstinner vstinner merged commit c02b41b into python:master Oct 4, 2019
@vstinner vstinner deleted the getpath_alloc2 branch October 4, 2019 17:53
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
* _Py_FindEnvConfigValue() now returns a string allocated
  by PyMem_RawMalloc().
* calculate_init() now decodes VPATH macro.
* Add calculate_open_pyenv() function.
* Add substring() and joinpath2() functions.

* Fix add_exe_suffix()

And a few cleanup changes.
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