[issue6547] shutil.copytree fails on dangling symlinks

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


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

Please ignore my last message.

I've written a test for your error, and it turns out that the error is caught and just raised at the end of the process, meaning that everything else was copied before you get the exception.

So shutil.copytree didn't fail.

Now, the behavior is a little bit hard for this case, so I am going to add an option to ignore errors when a dangling symlink is found.

----------

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


More information about the Python-bugs-list mailing list