[issue21599] Argument transport in attach and detach method in Server class in base_events file is not used

STINNER Victor report at bugs.python.org
Thu Jun 19 17:48:32 CEST 2014


STINNER Victor added the comment:

The Server class is hardcoded in create_server() and create_unix_server(), it's not possible to pass an arbitrary class. Only the AbstractServer class is documented, and only close() and wait_for_close() methods:
https://docs.python.org/dev/library/asyncio-eventloop.html#asyncio.AbstractServer

So it's possible to break the API. The Server API is not really public.

@Guido, @Yury: what do you think?

----------

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


More information about the Python-bugs-list mailing list