This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ron Frederick
Recipients Ron Frederick, asvetlov, gvanrossum, vstinner, yselivanov
Date 2017-12-21.04:09:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513829390.85.0.213398074469.issue25749@psf.upfronthosting.co.za>
In-reply-to
Content
That'd be great if you could add AbstractServer to the 3.7 docs - thanks!

Regarding the other issue, I'm already set up to use multiple asyncio.Server objects to deal with the shared port issue and it's working fine. 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.

Here's the code I'm referring to if you're curious:

https://github.com/ronf/asyncssh/blob/master/asyncssh/listener.py#L192
History
Date User Action Args
2017-12-21 04:09:50Ron Fredericksetrecipients: + Ron Frederick, gvanrossum, vstinner, asvetlov, yselivanov
2017-12-21 04:09:50Ron Fredericksetmessageid: <1513829390.85.0.213398074469.issue25749@psf.upfronthosting.co.za>
2017-12-21 04:09:50Ron Fredericklinkissue25749 messages
2017-12-21 04:09:50Ron Frederickcreate