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 socketpair
Recipients socketpair
Date 2011-07-01.09:42:37
SpamBayes Score 0.00065938366
Marked as misclassified No
Message-id <1309513358.23.0.446931887968.issue12461@psf.upfronthosting.co.za>
In-reply-to
Content
According to
http://hg.python.org/cpython/file/588fe0fc7160/Lib/shutil.py

it uses utimes(), stat() ans so on,
For some people, it's preferable to use lutimes() and lstat(),but for some people it's not.

For example, in old implementation, exception will raise on broken symlink during os.utime().

Also, copystat() does not check that chown can not be applied to a symlink.

I do not think that it's good to add two parameters like
shutil.copystat(src, dst, followsrc, followdst)

Adding just one parameter (followsymlinks) is not sufficient.
History
Date User Action Args
2011-07-01 09:42:38socketpairsetrecipients: + socketpair
2011-07-01 09:42:38socketpairsetmessageid: <1309513358.23.0.446931887968.issue12461@psf.upfronthosting.co.za>
2011-07-01 09:42:37socketpairlinkissue12461 messages
2011-07-01 09:42:37socketpaircreate