[issue12885] distutils.filelist.findall() fails on broken symlink in Py2.x

Jason R. Coombs report at bugs.python.org
Sun Sep 20 19:04:48 CEST 2015


Jason R. Coombs added the comment:

> Does the patch change the behaviour for the handling of the MANIFEST file (not MANIFEST.in)?  My previous message mentions that the docs say that one can include symlinks in MANIFEST.

This change will not affect the content of MANIFEST.in (template) nor MANIFEST. Previously, if a broken symlink was provided, it would raise an error. With the patch, under that condition the process will not fail but will instead ignore those broken symlinks as if they do not exist (and omit them from MANIFEST).

Non-broken symlinks (those that resolve to directories or files) will continue to be treated exactly as if their targets exist in that place. To my knowledge, there is no special handling of symlinks (such as with tarfiles that store the underlying symbolic link details).

----------

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


More information about the Python-bugs-list mailing list