[Python-Dev] Single- vs. Multi-pass iterability

Delaney, Timothy tdelaney@avaya.com
Thu, 18 Jul 2002 10:05:32 +1000


> From: Greg Ewing [mailto:greg@cosc.canterbury.ac.nz]
> 
> Would making them cooperate with GC be a difficult
> thing to do? Seems to me we should be moving towards
> making everything cooperate with GC, and fixing
> things like this whenever they come to light.

It would sure annoy those people who insist that

    file(f, 'w').write(s)

is a safe idiom ... :)

Tim Delaney