Kristján> I'd suggest to keep the debug functions as a thin layer on top Kristján> of malloc to do basic testing. But then you would substantially change the memory access behavior of the program in a debug build, that is, more than it is already changed by the fact that you have changed the memory layout of Python objects. Skip