This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients desbma, josh.r, martin.panter, r.david.murray
Date 2015-10-29.01:18:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446081494.07.0.446364835513.issue25156@psf.upfronthosting.co.za>
In-reply-to
Content
I’ve never used sendfile() nor shutil.copyfile(), but my immediate reaction is maybe we need a backup plan if os.sendfile() is available but not supported in the circumstances. E.g. if it is practical to use copyfile() to copy from a named socket in the filesystem, the Linux man page <http://man7.org/linux/man-pages/man2/sendfile.2.html> says it will raise EINVAL in this case. Maybe a test case would be good to prove this is still handled.
History
Date User Action Args
2015-10-29 01:18:14martin.pantersetrecipients: + martin.panter, r.david.murray, desbma, josh.r
2015-10-29 01:18:14martin.pantersetmessageid: <1446081494.07.0.446364835513.issue25156@psf.upfronthosting.co.za>
2015-10-29 01:18:13martin.panterlinkissue25156 messages
2015-10-29 01:18:12martin.pantercreate