Benjamin Peterson <benja...@python.org> added the comment: On Mon, Jan 19, 2009 at 11:59 AM, STINNER Victor <rep...@bugs.python.org> wrote: > > STINNER Victor <victor.stin...@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. _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4996> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com