[issue6669] TarFile.getmembers fails at struct.unpack: unpack requires a string argument of length 4

Michele Orrù report at bugs.python.org
Sat Aug 20 12:37:01 CEST 2011


Michele Orrù <maker.py at gmail.com> added the comment:

Would it be better to use TarError as Sridhar suggested, or create a new class BadTarfile(TarError, IOError), following the convention used for gzip and zipfile?

----------
nosy: +maker

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


More information about the Python-bugs-list mailing list