Yury Selivanov <yseliva...@gmail.com> added the comment:

> It did mean duplicating a handful of lines of code from asyncio to iterate 
> over the getaddrinfo() results (creating one asyncio.Server per sockaddr 
> instead of letting asyncio create a single asyncio.Server with multiple 
> listening sockets) and there are some other minor details like cleaning up if 
> the kernel-selected dynamic port chosen for the first interface is not 
> actually free on all other interfaces, but I'm not actually looking for any 
> changes in how that's working right now.

I think you're doing it the right way.  It's a rather niche requirement, so I 
don't think we should make create_server to somehow support this use case.

asyncssh looks absolutely amazing, btw.

----------

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

Reply via email to