Message139561
| 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: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 |
|