From 645ed62fb4c09b7e23887fcca0767b0f2d7d3fd6 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 29 Apr 2021 10:47:47 +0200 Subject: bpo-43774: Remove unused PYMALLOC_DEBUG macro (GH-25711) Enhance also the documentation of debug hooks on memory allocators. --- Include/objimpl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Include/objimpl.h') diff --git a/Include/objimpl.h b/Include/objimpl.h index 689c42b747..450befad67 100644 --- a/Include/objimpl.h +++ b/Include/objimpl.h @@ -48,8 +48,8 @@ Functions and macros for modules that implement new object types. Note that objects created with PyObject_{New, NewVar} are allocated using the specialized Python allocator (implemented in obmalloc.c), if WITH_PYMALLOC is -enabled. In addition, a special debugging allocator is used if PYMALLOC_DEBUG -is also #defined. +enabled. In addition, a special debugging allocator is used if Py_DEBUG +macro is also defined. In case a specific form of memory management is needed (for example, if you must use the platform malloc heap(s), or shared memory, or C++ local storage or -- cgit v1.2.1