Message80199
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. |
|
Date |
User |
Action |
Args |
2009-01-19 18:02:08 | benjamin.peterson | set | recipients:
+ benjamin.peterson, gvanrossum, pitrou, vstinner, kawai |
2009-01-19 18:02:07 | benjamin.peterson | link | issue4996 messages |
2009-01-19 18:02:06 | benjamin.peterson | create | |
|