Antoine Pitrou added the comment:

I've posted a review on Rietveld. Not sure the notification e-mail was sent 
since I got a weird response from the server.

> should EINTR be handled (i.e. retry, with an updated timeout). I'm tempted to 
> say
> yes, because EINTR is just a pain the user should never be exposed with.

You could add an optional argument to the select() method?

> what should be done with POLLNVAL and POLLERR? Raise an exception (that's 
> what Java 
> does, but since you can get quite quite easily it would be a pain to use), 
> return a 
> generic SELECT_ERR event?

I would say return SELECT_ERR.

> So this can be interesting when a large number of FDs are monitored.

The difference is impressive indeed.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16853>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to