Timothee Besset added the comment:
It's a symlink that points to a file that doesn't exist. There are many ways
this can happen, in this particular case my text editor (emacs) seems to keep
some metadata about which user, machine and process is editing a file. I tried
to reprod
Timothee Besset 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.copy
Timothee Besset added the comment:
Good stuff. Didn't occur to me that the operation could have successfully
completed before raising the exception
--
___
Python tracker
<http://bugs.python.org/i
Timothee Besset added the comment:
My pleasure! We do use a lot of python.
--
___
Python tracker
<http://bugs.python.org/issue6547>
___
___
Python-bugs-list m
New submission from Timothee Besset :
shutil.copytree fails if there is a dangling symlink and symlink is set
to False (which is the default). It will raise an exception when trying
to get to the content of the symlink.
Tested on Debian Etch amd64, python 2.5.2
File "/usr/lib/pyth