SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 2 Python

bpo-36142: Add _PyPreConfig_SetAllocator() (GH-12187)

* _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".
V
Victor Stinner committed
c656e25667c9acc0d13e5bb16d3df2938d0f614b
Parent: 7d2ef3e
Committed by GitHub <noreply@github.com> on 3/6/2019, 12:13:43 AM