non-blocking IO EAGAIN on write

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Jul 27 02:55:54 EDT 2010


In message <roy-8A46B6.07250924072010 at news.panix.com>, Roy Smith wrote:

> Consider, for example, a write on a TCP connection.  You are sitting in
> a select(), when the other side closes the connection.  The select()
> should return, and the write should then immediately fail.

Remember that select can return 3 different sets of file objects. I’ve yet 
to see a use for the third one.



More information about the Python-list mailing list