[Python-Dev] epoll implementation

"Martin v. Löwis" martin at v.loewis.de
Sat May 27 08:51:09 CEST 2006


Greg Ewing wrote:
> There are many different select-like things around now
> (select, poll, epoll, kqueue -- are there others?) and
> random combinations of them seem to be available on any
> given platform. This makes writing platform-independent
> code that needs select-like functionality very awkward.
> 
> Rather than adding yet another platform-dependent module,
> I'd like to see a unified Python interface in the stdlib
> that uses whichever is the best one available.

For epoll, that interface seems to be select.poll.

Regards,
Martin


More information about the Python-Dev mailing list