Author benjamin.peterson
Recipients benjamin.peterson, gvanrossum, kawai, pitrou, vstinner
Date 2009-01-19.18:02:06
SpamBayes Score 1.63808e-07
Marked as misclassified No
Message-id <1afaf6160901191002k7c82662cxc3e6e9d848a3097@mail.gmail.com>
In-reply-to <1232387982.19.0.218689047476.issue4996@psf.upfronthosting.co.za>
Content
On Mon, Jan 19, 2009 at 11:59 AM, STINNER Victor <report@bugs.python.org> wrote:
>
> STINNER Victor <victor.stinner@haypocalc.com> added the comment:
>
> Short example to reproduce the problem:
> ---
> import io, os
> fd = os.open("/etc/issue", os.O_RDONLY)
> raw = open(fd, "rb", buffering=0)
> text = io.TextIOWrapper(raw, line_buffering=False)
> print(text.read(1))

You can only use TextIOWrapper over a buffered stream, so this example
is invalid anyway.
History
Date User Action Args
2009-01-19 18:02:08benjamin.petersonsetrecipients: + benjamin.peterson, gvanrossum, pitrou, vstinner, kawai
2009-01-19 18:02:07benjamin.petersonlinkissue4996 messages
2009-01-19 18:02:06benjamin.petersoncreate