Message139561
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. |
|
Date |
User |
Action |
Args |
2011-07-01 09:42:38 | socketpair | set | recipients:
+ socketpair |
2011-07-01 09:42:38 | socketpair | set | messageid: <1309513358.23.0.446931887968.issue12461@psf.upfronthosting.co.za> |
2011-07-01 09:42:37 | socketpair | link | issue12461 messages |
2011-07-01 09:42:37 | socketpair | create | |
|