[issue6547] shutil.copytree fails on dangling symlinks

Tarek Ziadé report at bugs.python.org
Tue Apr 20 10:01:28 CEST 2010


Tarek Ziadé <ziade.tarek at gmail.com> added the comment:

So, here's what I am planing to do after a little thought:

When a dangling symlink occurs and symlinks=false, copytree() will just emit a warning, unless the onerror option (new option) is set to a callable. In that case it will receive the src/dst values, and it will be up to the developer to decide what to do.

----------

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


More information about the Python-bugs-list mailing list