Author felipecruz
Recipients felipecruz, giampaolo.rodola, neologix, pitrou
Date 2013-01-03.18:44:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357238685.1.0.26917568529.issue16853@psf.upfronthosting.co.za>
In-reply-to
Content
I think you have a point. Did you know about the tulip project?

http://code.google.com/p/tulip/source/browse/tulip/unix_events.py#76

It has a PollsterBase class and a SelectPollster(PollsterBase) so the idea is to have a Poller(and you call poll()) but select can be used underneath. Since tulip will be merged to stdlib, maybe you can work on tulip itself.

Current tulip Pollers don't return (fd, event) but I have a fork that does for Poll, EPoll, KQueue and WindowsPollster: https://bitbucket.org/felipecruz/tulip/

The selector class doesn't have this change (return fd, mask tuple) right now.
History
Date User Action Args
2013-01-03 18:44:45felipecruzsetrecipients: + felipecruz, pitrou, giampaolo.rodola, neologix
2013-01-03 18:44:45felipecruzsetmessageid: <1357238685.1.0.26917568529.issue16853@psf.upfronthosting.co.za>
2013-01-03 18:44:45felipecruzlinkissue16853 messages
2013-01-03 18:44:44felipecruzcreate