Message250426
| Author | martin.panter |
|---|---|
| Recipients | desbma, martin.panter, r.david.murray |
| Date | 2015-09-10.22:31:57 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1441924317.95.0.65514198492.issue25063@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I agree it is a nice idea, but have the same concern as David. Many pseudo file objects wrap real file descriptors. E.g. BufferedReader hides unread data in a buffer, GzipFile decompresses data, HTTPResponse decodes chunks. Detecting when sendfile() is appropriate would be hard to do. And I understand some platforms only support sockets. Also I notice that 3.5 has a new socket.sendfile() method (Issue 17552), which partly overlaps with this proposal. BTW the 3.4 os documentation should not mention the socket method, but it does! |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-09-10 22:31:57 | martin.panter | set | recipients: + martin.panter, r.david.murray, desbma |
| 2015-09-10 22:31:57 | martin.panter | set | messageid: <1441924317.95.0.65514198492.issue25063@psf.upfronthosting.co.za> |
| 2015-09-10 22:31:57 | martin.panter | link | issue25063 messages |
| 2015-09-10 22:31:57 | martin.panter | create | |