[Python-Dev] Activating pymalloc

Bernhard Herzog bh@intevation.de
25 Mar 2002 11:41:01 +0100


Tim Peters <tim.one@comcast.net> writes:

> [Neil Schemenauer]
> > Perhaps it is worth trying to keep free/malloc separate.  That gives
> > people the chance to base PyMem_MALLOC/FREE on a different allocator
> > (e.g. Boehm's GC malloc).
> 
> I do want to keep them separate, despite the
> 
> """
> sketch-0.6.13
> 
>     Allocates with PyObject_NEW and reallocates with realloc,
>     deallocates with free
> """

This is clearly a bug in Sketch and will be fixed in the next release,
so no one except me should be worrying about it. The realloc is only
done on malloc'ed memory AFAICT, though.

  Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Sketch                                 http://sketch.sourceforge.net/
MapIt!                                           http://www.mapit.de/