Yury Selivanov <yseliva...@gmail.com> added the comment:

There's no point in exporting the Server class as "asyncio.Server".  It'd 
created and managed by the event loop, and there's no point to instantiate it 
in user code.

We can add an abstract base class AbstractServer though, similar to 
AbstractFuture and AbstractTask proposed in https://bugs.python.org/issue32364.

This is a low priority feature and can probably wait till 3.8 though.

----------
versions: +Python 3.8 -Python 3.6, Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue25749>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to