[issue19842] selectors: refactor BaseSelector implementation

Antoine Pitrou report at bugs.python.org
Sat Nov 30 16:17:19 CET 2013


Antoine Pitrou added the comment:

> The idead was to have an ABC so that users can implement their own
> selector, and pass it to e.g. asyncio or anything alse expecting a
> selector.
> Other than that, the only use is as a documentation (i.e. to show
> which methods are supported by all selectors implementations).

The problem for documentation use is that we're christening it as an
official API, and thus it becomes more difficult to refactor the
inheritance hierarchy.

----------

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


More information about the Python-bugs-list mailing list