[issue25749] asyncio.Server class documented but not exported

Yury Selivanov report at bugs.python.org
Wed Dec 20 22:54:34 EST 2017


Yury Selivanov <yselivanov at gmail.com> added the comment:

>  _OR_ adding AbstractServer to the documentation and changing existing references to asyncio.Server to point at asyncio.AbstractServer instead, as that symbol is already exported but is not currently documented.

I completely missed the fact that we already export AbstractServer and that the documentation doesn't actually refer to it, and that it has less APIs than Server.  Thanks for reminding me of that, Ron.  I'll try to address the docs part before 3.7 comes out.

> So, when binding on multiple interfaces there's a requirement that the SAME port be chosen for all of the socket bindings, which can't easily be done today with a single asyncio.Server object. That's a bit off-topic for this issue, though.

And why do you need a single Server object?

----------
versions: +Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue25749>
_______________________________________


More information about the Python-bugs-list mailing list