[Python-Dev] Debug entry points for PyMalloc

Martin v. Loewis martin@v.loewis.de
21 Mar 2002 09:45:31 +0100


"Mark Hammond" <mhammond@skippinet.com.au> writes:

> > 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.
> 
> I like the idea of pymalloc doing this itself.  It is not hard, and
> universally useful.

I agree on the second part; I doubted the first part. I should have
considered that nothing is hard for Tim Peters :-)

Regards,
Martin