[issue10362] AttributeError: addinfourl instance has no attribute 'tell'

Amaury Forgeot d'Arc report at bugs.python.org
Mon Nov 8 18:47:27 CET 2010


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

With a socket file you cannot rely on autodetection of the format. I suggest to try
   tarfile.open(fileobj=file_, mode='r:')
or 
   tarfile.open(fileobj=file_, mode='r:gz')

----------
nosy: +amaury.forgeotdarc

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


More information about the Python-bugs-list mailing list