[Python-Dev] asyncore fixes in Python 2.6 broke Zope's version of medusa

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 5 21:46:47 CET 2009


Daniel Stutzbach wrote:

> If you have a working select(), it will tell you the sockets on which 
> read() and write() won't block, so non-blocking reads and writes are not 
> necessary.

No, but there should be an interface that lets you say
"when something comes in on this fd, call this function
for me".

In other words it should be a light wrapper around
select/poll/whatever that provides a callback interface.

-- 
Greg


More information about the Python-Dev mailing list