This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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.
Files
File name Uploaded
copy2_copytree_symlinks_2.7_v2.patch petri.lehtinen, 2011-07-31.18:08:32
History
Date User Action Args
2011-07-31 18:08:33petri.lehtinensetrecipients: + petri.lehtinen, orsenthil, tarek, docs@python, rosslagerwall, socketpair
2011-07-31 18:08:32petri.lehtinenlinkissue12183 messages
2011-07-31 18:08:32petri.lehtinencreate