[issue6054] tarfile normalizes arcname

Lars Gustäbel report at bugs.python.org
Fri Aug 28 22:56:26 CEST 2009


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

I have done some research in order to find a suitable behaviour for
tarfile. I wrote a script to test to what extent all the different tar
implementations transform input pathnames. The results can be found at
http://www.gustaebel.de/lars/tarfile/wwgtd.html.

My conclusion is the following: tarfile now does no pathname
transformation whatsoever except for converting absolute to relative
paths (to stay backwards compatible). This way tarfile is closer to
POSIX, applies less magic and gives more responsibility to the user.

Fixed in r74571 (trunk) and r74573 (py3k). Thanks for your report.

----------
resolution:  -> fixed
status: open -> closed
versions: +Python 3.2 -Python 3.1

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


More information about the Python-bugs-list mailing list