[Patches] memory leaks triggered by "test_extcall"

Christian Tismer tismer@tismer.com
Fri, 21 Apr 2000 23:07:22 +0200


Charles G Waldman wrote:
> 
> Running "test_extcall" repeatedly results in memory leaks.
> 
> One of these can't be fixed (at least not easily!), it happens since
> this code:
> 
> def saboteur(**kw):
>     kw['x'] = locals()
> d = {}
> saboteur(a=1, **d)
> 
> creates a circular reference - d['x']['d']==d

Yes, but aren't we going to implant Neil's GC, soon?

ciao - chris

p.s.: Stackless will have it probably after Easter.
-- 
Christian Tismer             :^)   <mailto:tismer@appliedbiometrics.com>
Applied Biometrics GmbH      :     Have a break! Take a ride on Python's
Kaunstr. 26                  :    *Starship* http://starship.python.net
14163 Berlin                 :     PGP key -> http://wwwkeys.pgp.net
PGP Fingerprint       E182 71C7 1A9D 66E9 9D15  D3CC D4D7 93E2 1FAE F6DF
     where do you want to jump today?   http://www.stackless.com