[Python-Dev] no tp_traverse for dict iters

Robert Schuppenies robert.schuppenies at gmail.com
Mon Aug 25 23:09:34 CEST 2008

Sry, wrong link. I meant http://bugs.python.org/issue3680.

Robert Schuppenies wrote:
> 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