[Python-Dev] Debug entry points for PyMalloc

Mark Hammond mhammond@skippinet.com.au
2002年3月21日 19:12:10 +1100


Martin:
> 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.

I like the idea of pymalloc doing this itself. It is not hard, and
universally useful.
Share-the-love ly,
Mark.

AltStyle によって変換されたページ (->オリジナル) /