[issue12585] distutils dereferences symlinks for zip but not for bztar/gztar target

Erik Purins report at bugs.python.org
Tue Nov 19 17:18:58 CET 2013


Erik Purins added the comment:

Note that the zipfile module does not include a dereference option, but tarfile does.

The following links to python examples show that users are writing zipfiles with symlinks, so it is possible to preserve them in a zip archive.

https://gist.github.com/kgn/610907
http://doeidoei.wordpress.com/2010/11/23/compressing-files-with-python-symlink-trouble/

Maybe the right start is to add a dereference option to zipfile module?

----------
nosy: +epu

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


More information about the Python-bugs-list mailing list