Message253649
| 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: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 |
|