mirror of
https://github.com/python/cpython.git
synced 2025-11-15 00:00:00 +00:00
Add new enum: * PyMemAllocatorDomain Add new structures: * PyMemAllocator * PyObjectArenaAllocator Add new functions: * PyMem_RawMalloc(), PyMem_RawRealloc(), PyMem_RawFree() * PyMem_GetAllocator(), PyMem_SetAllocator() * PyObject_GetArenaAllocator(), PyObject_SetArenaAllocator() * PyMem_SetupDebugHooks() Changes: * PyMem_Malloc()/PyObject_Realloc() now always call malloc()/realloc(), instead of calling PyObject_Malloc()/PyObject_Realloc() in debug mode. * PyObject_Malloc()/PyObject_Realloc() now falls back to PyMem_Malloc()/PyMem_Realloc() for allocations larger than 512 bytes. * Redesign debug checks on memory block allocators as hooks, instead of using C macros |
||
|---|---|---|
| .. | ||
| 2.0.rst | ||
| 2.1.rst | ||
| 2.2.rst | ||
| 2.3.rst | ||
| 2.4.rst | ||
| 2.5.rst | ||
| 2.6.rst | ||
| 2.7.rst | ||
| 3.0.rst | ||
| 3.1.rst | ||
| 3.2.rst | ||
| 3.3.rst | ||
| 3.4.rst | ||
| changelog.rst | ||
| index.rst | ||