[Python-ideas] Unicode stdin/stdout
Draic Kin
drekin at gmail.com
Tue Nov 19 19:23:00 CET 2013
On Tue, Nov 19, 2013 at 7:02 PM, <random832 at fastmail.us> wrote:
> On Tue, Nov 19, 2013, at 12:28, Draic Kin wrote:
> > Well, if you use the textio object than there are no problems and you
> > couldn't use buffered or raw io at all with the other approach. If you
> > try
> > to read one byte from raw io, it just returns b''.
>
> I get that, but my understanding is that this implies EOF.
>
Does it? If so then rawio.read(1) should raise en exception since other
options are to lose one byte or return more bytes than demanded which seem
to be unacceptable.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20131119/45fcf943/attachment.html>
More information about the Python-ideas
mailing list