Would be great to have a Python API for configuring [NumPy's memory allocator]( https://numpy.org/devdocs/reference/c-api/data_memory.html )