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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21599>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to