[issue25749] asyncio.Server class documented but not exported

STINNER Victor report at bugs.python.org
Fri Nov 27 17:59:16 EST 2015


STINNER Victor added the comment:

Yury Selivanov added the comment:
> But Ron suggested to actually export the Server class, so that it's available as 'asyncio.Server'. And I think that *that* is a bad idea, (...)

I know, but IMHO the issue is wider than just exporting or not the
symbol. Right now, create_server() doc explicitly says that the list
of sockets is available in server.sockets attribute. We should mention
that it's not always the case, it's only available on "some"
implementations of event loops.

----------

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


More information about the Python-bugs-list mailing list