check for PyMalloc