[issue20074] open() of read-write non-seekable streams broken
Dolda2000
report at bugs.python.org
Fri Dec 27 08:49:02 CET 2013
Dolda2000 added the comment:
Python 3.3.3 (default, Dec 8 2013, 14:51:59)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import io
>>> io.TextIOWrapper(open("/dev/tty", "rb+"))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
io.UnsupportedOperation: File or stream is not seekable.
Was this also fixed in 3.4?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20074>
_______________________________________
More information about the Python-bugs-list
mailing list