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

Greg Ewing greg@cosc.canterbury.ac.nz
Fri, 19 Jul 2002 12:52:20 +1200 (NZST)


Alex Martelli <aleax@aleax.it>:

> I suspect read and write would best be kept on separate
> interfaces.

Yes, obviously you would be allowed to have streams that
implemented one or the other or both.

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	   +--------------------------------------+