[issue12183] Document behaviour of shutil.copy2 and copystat with symlinks

Senthil Kumaran report at bugs.python.org
Sat Jul 30 17:38:00 CEST 2011


Senthil Kumaran <senthil at uthcode.com> added the comment:

When shutil.copy2 already says that it's behavior is equivalent to cp -p, will adding this sentence

+   Symbolic links are not preserved. The contents and metadata of the
+   linked files are copied instead.

Not actively confuse the user?  Because cp -p's behavior includes that and I dont see a special mention without giving more details is going to help.

The other portion of the patch seems okay to me.

----------
nosy: +orsenthil

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


More information about the Python-bugs-list mailing list