[issue17929] TypeError using tarfile.addfile() with io.StringIO replacing StringIO.StringIO()

R. David Murray report at bugs.python.org
Tue May 7 22:07:35 CEST 2013


R. David Murray added the comment:

Basic questions like this aren't really suitable for the tracker, you should use other forums such as the python-list mailing list or the #python irc channel.

In Python3, bytes and strings are different classes, but in Python2 they are not.  You need to be working with BytesIO.

----------
nosy: +r.david.murray
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list