mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
bpo-32410: Implement loop.sock_sendfile() (#4976)
This commit is contained in:
parent
c495e799ed
commit
6b5a27975a
8 changed files with 609 additions and 0 deletions
|
|
@ -464,6 +464,10 @@ class AbstractEventLoop:
|
|||
async def sock_accept(self, sock):
|
||||
raise NotImplementedError
|
||||
|
||||
async def sock_sendfile(self, sock, file, offset=0, count=None,
|
||||
*, fallback=None):
|
||||
raise NotImplementedError
|
||||
|
||||
# Signal handling.
|
||||
|
||||
def add_signal_handler(self, sig, callback, *args):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue