[Python-Dev] Problems with the Python Memory Manager

Armin Rigo arigo at tunes.org
Fri Nov 25 09:41:30 CET 2005


Hi Jim,

You wrote:
> >(2)  Is he allocating new _types_, which I think don't get properly
> > collected.

(Off-topic) For reference, as far as I know new types are properly
freed.  There has been a number of bugs and lots of corner cases to fix,
but I know of no remaining one.  This assumes that the new types are
heap types allocated in some official way -- either by Python code or by
somehow calling type() from C.


A bientot,

Armin


More information about the Python-Dev mailing list