[issue19172] selectors: add keys() method

STINNER Victor report at bugs.python.org
Sun Oct 6 16:59:56 CEST 2013


STINNER Victor added the comment:

> Perhaps the method shouldn't be called keys() to avoid any confusion with subclasses of the Container ABC?

If you don't want to rename the SelectorKey class, rename the method
to get_keys().

----------

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


More information about the Python-bugs-list mailing list