[New-bugs-announce] [issue4996] io.TextIOWrapper calls buffer.read1()

HiroakiKawai report at bugs.python.org
Mon Jan 19 11:09:56 CET 2009


New submission from HiroakiKawai <kawai at apache.org>:

The documentation says io.TextIOWrapper wraps io.BufferedIOBase raw 
stream. In the code, io.TextIOWrapper.read(), 
io.TextIOWrapper._read_chunk() calls buffer.read1() which seems 
expecting buffer to be an instance of io.BufferedReader. I'm not sure 
which is correct right now.

----------
components: Library (Lib)
messages: 80152
nosy: kawai
severity: normal
status: open
title: io.TextIOWrapper calls buffer.read1()
type: behavior
versions: Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4996>
_______________________________________


More information about the New-bugs-announce mailing list