[issue6547] shutil.copytree fails on dangling symlinks

Timothee Besset report at bugs.python.org
Tue Apr 20 01:00:35 CEST 2010


Timothee Besset <ttimo at idsoftware.com> added the comment:

I am not sure what shutil does with symlinks already. At the very least it should not abort the operation.

Ideally I feel it should create the same symlink pointing to a possibly missing file, since that's what '/bin/cp' does, and shutil.copytree is broadly understood as a drop in replacement..

----------

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


More information about the Python-bugs-list mailing list