Message322848
| Author |
giampaolo.rodola |
| Recipients |
Albert.Zeyer, Gabriel Devenyi, giampaolo.rodola, jhamrick, minrk, r.david.murray |
| Date |
2018年08月01日.07:43:12 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1533109392.78.0.56676864532.issue24564@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
[ https://bugs.python.org/issue24564#msg246278 ]
> Adding `EINVAL` to the ignored errnos would fix the problem, but might hide real failures (I'm not sure about the real failures, but it seems logical).
I think this is an acceptable compromise considering that:
1) because of this the copy operation will ultimately fail (despite file will be copied)
2) there is nothing we can do except emit a warning somehow
3) EPERM and ENODATA are already silently ignored (also ENOTSUP but that is more legit)
For completeness, other than copytree() also copy2() and move() are affected.
I submitted a PR: https://github.com/python/cpython/pull/8601. |
|