Charles-François Natali added the comment:

> Maybe we should keep listen(1) in some cases.
>
> For socketpair() of asyncio.windows_utils, it makes sense to use 
> sock.listen(1) since we expect exactly one request from one client. The 
> listening socket is closed just after sock.accept().

Yeah, I thought about that, but almost all operating systems don't
strictly respect the backlog, they always increase it a bit, so this
wouldn't change much.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21566>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to