[issue13815] tarfile.ExFileObject can't be wrapped using io.TextIOWrapper
Lars Gustäbel
report at bugs.python.org
Thu May 10 11:44:20 CEST 2012
Lars Gustäbel <lars at gustaebel.de> added the comment:
Okay, I attached a patch that I hope we can all agree upon. It restores the ExFileObject class as a small subclass of BufferedReader as Amaury suggested. Does the documentation have to be changed, too? It states that an io.BufferedReader object is returned by extractfile() not a subclass thereof.
----------
Added file: http://bugs.python.org/file25516/tarfile-exfileobj.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13815>
_______________________________________
More information about the Python-bugs-list
mailing list