Message322848
[ 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. |
|
Date |
User |
Action |
Args |
2018-08-01 07:43:12 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola, r.david.murray, Albert.Zeyer, minrk, jhamrick, Gabriel Devenyi |
2018-08-01 07:43:12 | giampaolo.rodola | set | messageid: <1533109392.78.0.56676864532.issue24564@psf.upfronthosting.co.za> |
2018-08-01 07:43:12 | giampaolo.rodola | link | issue24564 messages |
2018-08-01 07:43:12 | giampaolo.rodola | create | |
|