[issue31775] Support unbuffered TextIOWrapper

STINNER Victor report at bugs.python.org
Thu Oct 12 11:25:04 EDT 2017


STINNER Victor <victor.stinner at gmail.com> added the comment:

Oh, currently it's not possible to create an unbuffered read-only TextIOWrapper object:

haypo at selma$ python3
Python 3.6.2 (default, Oct  2 2017, 16:51:32) 
>>> open("/etc/issue", "r", 0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: can't have unbuffered text I/O

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31775>
_______________________________________


More information about the Python-bugs-list mailing list