Message253649
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. |
|
Date |
User |
Action |
Args |
2015-10-29 01:18:14 | martin.panter | set | recipients:
+ martin.panter, r.david.murray, desbma, josh.r |
2015-10-29 01:18:14 | martin.panter | set | messageid: <1446081494.07.0.446364835513.issue25156@psf.upfronthosting.co.za> |
2015-10-29 01:18:13 | martin.panter | link | issue25156 messages |
2015-10-29 01:18:12 | martin.panter | create | |
|