https://hg.python.org/cpython/rev/c4c14e34e528 changeset: 101060:c4c14e34e528 user: Victor Stinner <victor.stinner at gmail.com> date: Tue Apr 19 17:02:55 2016 +0200 summary: Don't define _PyMem_PymallocEnabled() if pymalloc is disabled Isse #26516. files: Objects/obmalloc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c @@ -286,13 +286,13 @@ #endif }; +#ifdef WITH_PYMALLOC static int _PyMem_DebugEnabled(void) { return (_PyObject.malloc == _PyMem_DebugMalloc); } -#ifdef WITH_PYMALLOC int _PyMem_PymallocEnabled(void) { -- Repository URL: https://hg.python.org/cpython