[issue13815] tarfile.ExFileObject can't be wrapped using io.TextIOWrapper

Terry J. Reedy report at bugs.python.org
Sat Jan 21 05:20:34 CET 2012


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Based on other examples in the doc, I think the note
"... and also supports iteration over its lines."
should be extended with 
" It also has a dummy `flush` method, so that it can be wrapped using :class:`io.TextIOWrapper`."

Then just add
".. versionchanged:: 3.3
      Added the `flush` method."

I leave the test to Lars.

----------
nosy: +terry.reedy
stage:  -> patch review
type:  -> enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13815>
_______________________________________


More information about the Python-bugs-list mailing list