Antoine Pitrou added the comment:

> > - it won't work for reading: TextIOWrapper calls the read1()
> > method, which is only defined by BufferedIO objects.
> 
> Since 3.3 TextIOWrapper works with raw IO objects (issue12591).

It won't be technically unbuffered, though.

----------
title: ValueError: can't have unbuffered text I/O for io.open(1, 'wt', 0) -> 
ValueError: can't have unbuffered text I/O for io.open(1,  'wt', 0)

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17404>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to