[issue8958] 2.7rc1 tarfile.py: `bltn_open(targetpath, "wb")` -> IOError: Is a directory

Lars Gustäbel report at bugs.python.org
Fri Jun 11 12:52:59 CEST 2010


Lars Gustäbel <lars at gustaebel.de> added the comment:

I found the problem. As of r76780 the default for the TarFile.errorlevel argument changed from 0 (suppress errors and write them to the debug log instead) to 1 (raise exceptions for fatal extraction errors). This change was not backported to the 2.6 branch back then (it was blocked in r76781).

This means, that Python 2.6 does not succeed either, but the error is simply suppressed.

Ergo, this is no regression but a simple filesystem issue.

----------
resolution:  -> wont fix
status: open -> closed

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


More information about the Python-bugs-list mailing list