SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72140 0 25 Python

bpo-36763: Add PyMemAllocatorName (GH-13387)

* Add PyMemAllocatorName enum
* _PyPreConfig.allocator type becomes PyMemAllocatorName, instead of
  char*
* Remove _PyPreConfig_Clear()
* Add _PyMem_GetAllocatorName()
* Rename _PyMem_GetAllocatorsName() to
  _PyMem_GetCurrentAllocatorName()
* Remove _PyPreConfig_SetAllocator(): just call
  _PyMem_SetupAllocators() directly, we don't have do reallocate the
  configuration with the new allocator anymore!
* _PyPreConfig_Write() parameter becomes const, as it should be in
  the first place!
V
Victor Stinner committed
b16b4e45923f4e4dfd8e970ae4e6a934faf73b79
Parent: 80ed353
Committed by GitHub <noreply@github.com> on 5/17/2019, 1:20:52 PM