This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benjamin.peterson
Recipients benjamin.peterson, gvanrossum, kawai, pitrou, vstinner
Date 2009-01-19.18:02:06
SpamBayes Score 1.6380838e-07
Marked as misclassified No
Message-id <[email protected]>
In-reply-to <[email protected]>
Content
On Mon, Jan 19, 2009 at 11:59 AM, STINNER Victor <[email protected]> wrote:
>
> STINNER Victor <[email protected]> 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