Gabriel Genellina <gagsl-py2 <at> yahoo.com.ar> writes: > > The undocumented behavior is relying on the open() builtin to return a > BufferedReader for a binary file. I don't see the problem. open() will return some BufferedIOBase implmentor, and that's all that TextIOWrapper needs.