[Python-checkins] r43358 - python/trunk/Modules/itertoolsmodule.c

Raymond Hettinger raymond.hettinger at verizon.net
Mon Mar 27 23:12:11 CEST 2006


> Modified:
>   python/trunk/Modules/itertoolsmodule.c
> Log:
>
> Make itertools.tee and its internal teedataobject participate in GC. This
> alone does not solve the leak in test_generators, unfortunately, but it is
> part of test_generators' problem and it does solve other cycles.

Thanks for getting this in.

To get the leak in test_generators, I think you make need to add GC to the 
teeobject as well as the teedataobject.


Raymond 



More information about the Python-checkins mailing list