New submission from Andrew Svetlov <andrew.svet...@gmail.com>: The method should be low-level coroutine, implemented on loops with native sendfile support only (UnixEventLoop).
The signature should be close to socket.sendfile() method Next step is implementing loop.sendfile(transport, ...) with fallback to sending by chunks if sendfile is not supported. ---------- components: Library (Lib), asyncio messages: 308932 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Implement loop.sock_sendfile method versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32410> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com