[Python-3000] iostack and Oh Oh

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Nov 24 23:48:54 CET 2006


tomer filiba wrote:

> back in the day, we said all stream objects would support read() and
> write(), and streams with limited functionality (readonly, writeonly) would
> be "queriable" using the following properties:
> * writable
> * readable
> * seekable

Is that really necessary? I can't remember ever writing
code that didn't already know what kind of stream it
was expecting.

--
Greg


More information about the Python-3000 mailing list