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

Itamar Shtull-Trauring twisted at itamarst.org
Thu Nov 22 04:50:56 EST 2001


Glyph Lefkowitz wrote:


> I'm confused.  In what way is "adding/removing a reader/writer" not
> "registering/unregistering an object"?
> 
> In fact, I chose that API specifically because I didn't think it was like
> select().

Well, in poll() you don't register writing and reading separately - you have 
to register for them together (bu actually the limitation is in the Python 
API, not the C API). Further research shows that the current API might match 
other systems, so I was probably wrong about that.






More information about the Twisted-Python mailing list