[issue16853] add a Selector to the select module

Giampaolo Rodola' report at bugs.python.org
Sat Jan 5 17:28:53 CET 2013


Giampaolo Rodola' added the comment:

> The actual error (which may be ECONNRESET, but also EBADF, ENOBUFS...) will be raised
> upon the next call to read()/write(), or can be retrieved through
getsockopt(SO_ERROR).

Mmmm... I would be tempted to think the same but the fact that both Tornado and Twisted distinguish between READ and ERROR events is suspicious.

> then we probably also want to suppress POLLPRI|EPOLLPRI, no?

Yes.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16853>
_______________________________________


More information about the Python-bugs-list mailing list