[Twisted-Python] Re: [Twisted-commits] CVS: Twisted/twisted/internet poll.py,NONE,1.1

Itamar Shtull-Trauring twisted at itamarst.org
Wed Nov 21 09:51:51 EST 2001

Itamar Shtull-Trauring wrote:

> Update of /cvs/Twisted/twisted/internet
> In directory zaibach:/tmp/cvs-serv28575
> Added Files:
> 	poll.py 
> Log Message:
> preliminary poll()-based event loop

What I learned - the addReader/addWriter/etc. API is far too select() 
oriented. Every other alternative (poll, kqeue, windows event thing) works 
by registering and unregistering objects - correct me if I'm wrong.

So instead of having to emulate a select()-like API, we need a select() 
wrapper that acts like poll(). In other words, addReader and friends must go 
when we refactor the event loop code.

More information about the Twisted-Python mailing list