[issue17404] ValueError: can't have unbuffered text I/O for io.open(1, 'wt', 0)

Antoine Pitrou report at bugs.python.org
Wed Mar 13 10:23:44 CET 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue17404>
_______________________________________


More information about the Python-bugs-list mailing list