[issue19876] selectors (and asyncio?): document behaviour on closed files/sockets

STINNER Victor report at bugs.python.org
Mon Dec 9 02:01:06 CET 2013


STINNER Victor added the comment:

"Except that it can fail with ENOENT, but also EBADF, and EPERM if the
FD has been reused by a FD which doesn't support epoll."

Oh, I didn't know that. I ran the unit test, and I expected the two unit test to cover any error case. So ignore my epoll_except.patch, the current "except OSError: pass" is correct.

----------

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


More information about the Python-bugs-list mailing list