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.
History
Date User Action Args
2018-08-01 07:43:12giampaolo.rodolasetrecipients: + giampaolo.rodola, r.david.murray, Albert.Zeyer, minrk, jhamrick, Gabriel Devenyi
2018-08-01 07:43:12giampaolo.rodolasetmessageid: <1533109392.78.0.56676864532.issue24564@psf.upfronthosting.co.za>
2018-08-01 07:43:12giampaolo.rodolalinkissue24564 messages
2018-08-01 07:43:12giampaolo.rodolacreate