Message141474
| Author |
petri.lehtinen |
| Recipients |
docs@python, orsenthil, petri.lehtinen, rosslagerwall, socketpair, tarek |
| Date |
2011年07月31日.18:08:32 |
| SpamBayes Score |
7.587109e-06 |
| Marked as misclassified |
No |
| Message-id |
<20110731180829.GB2219@ihaa> |
| In-reply-to |
<1312040280.03.0.299305836969.issue12183@psf.upfronthosting.co.za> |
| Content |
Senthil Kumaran wrote:
> 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.
You're right. Only copytree() seems to understand symlinks, so
deferencing symlinks is the "default" mode of operation.
I updated the patch to remove the first hunk. |
|