[Python-Dev] Single- vs. Multi-pass iterability
Greg Ewing
greg@cosc.canterbury.ac.nz
Thu, 18 Jul 2002 12:29:55 +1200 (NZST)
"Delaney, Timothy" <tdelaney@avaya.com>:
> Me:
> > Would making them cooperate with GC be a difficult
> > thing to do?
>
> It would sure annoy those people who insist that
>
> file(f, 'w').write(s)
>
> is a safe idiom ... :)
Well, it would serve them right! :-)
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg@cosc.canterbury.ac.nz +--------------------------------------+