This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients christian.heimes, felipecruz, giampaolo.rodola, gvanrossum, meador.inge, neologix, pitrou, rosslagerwall, sbt
Date 2013-01-08.22:52:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357685572.97.0.27629205601.issue16853@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-01-08 22:52:53neologixsetrecipients: + neologix, gvanrossum, pitrou, giampaolo.rodola, christian.heimes, meador.inge, rosslagerwall, sbt, felipecruz
2013-01-08 22:52:52neologixsetmessageid: <1357685572.97.0.27629205601.issue16853@psf.upfronthosting.co.za>
2013-01-08 22:52:52neologixlinkissue16853 messages
2013-01-08 22:52:52neologixcreate