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

Amaury Forgeot d'Arc report at bugs.python.org
Wed May 9 17:34:51 CEST 2012


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

I came here when I saw this comment in the diff: "# Keep the traditional pre-3.3 API intact".  Why keep an internal API intact if we do it partially?

The ExFileObject class above will also simplify the code: simply "return self.fileobject(self, tarinfo)" in all cases.

----------

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


More information about the Python-bugs-list mailing list