Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 4, 2019
Merged

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

merged 3 commits into from
Oct 4, 2019

Conversation

vstinner
Copy link
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
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