[issue27590] tarfile module next() method hides exceptions

Lars Gustäbel report at bugs.python.org
Mon Jul 25 01:25:38 EDT 2016


Lars Gustäbel added the comment:

The question is what you're trying to accomplish. If you just want to prevent tarfile from stopping at the first invalid header in order to extract everything following it, you may use the ignore_zeros=True keyword argument.

----------

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


More information about the Python-bugs-list mailing list