Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Dec 20, 2017

  • _Py_InitializeCore() doesn't call _PyMem_SetupAllocators() anymore
    if the PYTHONMALLOC environment variable is not set.
  • pymain_cmdline() now sets the allocator to the default, instead of
    setting the allocator in subfunctions.
  • Py_SetStandardStreamEncoding() now calls
    _PyMem_SetDefaultAllocator() to get a known allocator, to be able
    to release the memory with the same allocator.

https://bugs.python.org/issue32030

* _Py_InitializeCore() doesn't call _PyMem_SetupAllocators() anymore
  if the PYTHONMALLOC environment variable is not set.
* pymain_cmdline() now sets the allocator to the default, instead of
  setting the allocator in subfunctions.
* Py_SetStandardStreamEncoding() now calls
  _PyMem_SetDefaultAllocator() to get a known allocator, to be able
  to release the memory with the same allocator.
@vstinner vstinner merged commit 31e9908 into python:master Dec 20, 2017
@vstinner vstinner deleted the pymain_allocator branch December 20, 2017 22:41
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