[issue35928] socket makefile read-write discards received data
Palle Ravn
report at bugs.python.org
Mon Feb 11 02:39:18 EST 2019
Palle Ravn <p.ravn at samsung.com> added the comment:
>>> f = TextIOWrapper(BufferedRWPair(BytesIO(b"Hello\nYou\n"), BytesIO()))
>>> f.readline()
'Hello\n'
>>> f.write(_)
6
>>> f.readline() # Returns empty string
''
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35928>
_______________________________________
More information about the Python-bugs-list
mailing list