Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Mar 5, 2019

  • _PyPreConfig_Write() now reallocates the pre-configuration with the
    new memory allocator.
  • It is no longer needed to force the "default raw memory allocator"
    to clear pre-configuration and core configuration. Simplify the
    code.
  • _PyPreConfig_Write() now does nothing if called after
    Py_Initialize(): no longer check if the allocator is the same.
  • Remove _PyMem_GetDebugAllocatorsName(): dev mode sets again
    allocator to "debug".

https://bugs.python.org/issue36142

* _PyPreConfig_Write() now reallocates the pre-configuration with the
  new memory allocator.
* It is no longer needed to force the "default raw memory allocator"
  to clear pre-configuration and core configuration. Simplify the
  code.
* _PyPreConfig_Write() now does nothing if called after
  Py_Initialize(): no longer check if the allocator is the same.
* Remove _PyMem_GetDebugAllocatorsName(): dev mode sets again
  allocator to "debug".
@vstinner vstinner merged commit c656e25 into python:master Mar 6, 2019
@vstinner vstinner deleted the preparse13 branch March 6, 2019 00:26
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