Charles-François Natali added the comment:

As it is now, _Key is actually an implementation detail, that's why it's not 
part of the methods signature. Oonly the base register()/unregister() return 
the key because it's an easy way for the derived classes to get the FD without 
calling _fileobj_to_fd again (it's not really elegant, I'm open to suggestions).

We could make it part of the API though, and maybe return it also from 
get_info() instead of the (fileobj, data) tuple.

----------

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

Reply via email to