> This can be solved (as MAL suggested) by fixing configure so that > malloc(0) returning 0x800 is treated the same as malloc(0) returning > NULL. That way, pymalloc's free code doesn't have to special-case > this. What about changing PyMem_MALLOC malloc to #define PyMem_MALLOC(n) n ? malloc(n) : NULL Regards, Marc