changeset: 101060:c4c14e34e528 user: Victor Stinner date: Tue Apr 19 17:02:55 2016 +0200 files: Objects/obmalloc.c description: Don't define _PyMem_PymallocEnabled() if pymalloc is disabled Isse #26516. diff -r 3a9b47b062b9 -r c4c14e34e528 Objects/obmalloc.c --- a/Objects/obmalloc.c Tue Apr 19 15:58:33 2016 +0200 +++ b/Objects/obmalloc.c Tue Apr 19 17:02:55 2016 +0200 @@ -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) {