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 it
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.
> T
Hello,
2008/8/25 Robert Schuppenies <[EMAIL PROTECTED]>:
> Hi.
>
> Could you please explain to me why some iterators have a tp_traverse
> implementation and others do not? For example tupleiterator has one,
> but none of the dict iterators. Same for set iterators (and possibly
> others). It shows
Hi.
Could you please explain to me why some iterators have a tp_traverse
implementation and others do not? For example tupleiterator has one,
but none of the dict iterators. Same for set iterators (and possibly
others). It shows in Python when you use the get_referents function.
>>> t = (1,2,3)
>