[Python-Dev] Debug entry points for PyMalloc
Martin v. Loewis
martin@v.loewis.de
21 Mar 2002 07:43:53 +0100
Tim Peters <tim.one@comcast.net> writes:
> The thing I've dreaded most about switching to pymalloc is losing the
> invaluable memory-corruption clues supplied by the Microsoft debug-build
> malloc.
I thought that the malloc hooks in pymalloc where precisely introduced
for this kind of debugging. Just put the VC malloc hooks into
_PyCore_ObjectMalloc_SetHooks, and enjoy the features you had been
using all the time.
Regards,
Martin