[Python-Dev] no tp_traverse for dict iters

Robert Schuppenies robert.schuppenies at gmail.com
Mon Aug 25 22:49:22 CEST 2008


Created bug report at http://bugs.python.org/issue3546.

Amaury Forgeot d'Arc wrote:
> Yes, this can lead to some object cycle that are not collected.
> See the attached script: a cycle involving a list iterator is
> collected by the garbage collector, but a cycle with a dict iterator
> is not.
> This is worth a bug report IMO.



More information about the Python-Dev mailing list