Gustavo Niemeyer <gust...@niemeyer.net> added the comment:

Please note that even if unpacking such a tar might be semantically equivalent 
to a version which strips out the "./" prefix, it should be possible to create 
a tar with valid path names such as these.

In the case of debs, for instance, the files inside the tarball may contain 
expected path names, which means that some (badly done, perhaps) tools could 
*expect* the file to be exactly that which is created by the standard tools 
(e.g. "./debian/control"), and break down once it's not found.

With this in mind, it would indeed be nice to be able to use paths prefixed 
with "./" in Python's tarfile.

----------
nosy: +niemeyer

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9071>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to