[issue2246] itertools.groupby() leaks memory with circular reference
Alexander Belopolsky
report at bugs.python.org
Thu Mar 6 22:05:44 CET 2008
Alexander Belopolsky added the comment:
It looks like the problem is that the internal grouper object becomes a
part of a cycle: keyfunc -> grouper(x) -> keyfunc(tgtkey), but its type
does not support GC. I will try to come up with a patch.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2246>
__________________________________
More information about the Python-bugs-list
mailing list