Serhiy Storchaka added the comment:
> >>> 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.
buffering=0
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20074>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com