[issue19876] selectors (and asyncio?): document behaviour on closed files/sockets
Guido van Rossum
report at bugs.python.org
Sat Dec 7 02:51:30 CET 2013
Guido van Rossum added the comment:
So I think this is why epoll doesn't raise OSError:
http://hg.python.org/cpython/file/44dacafdd48a/Modules/selectmodule.c#l1335
The Python wrapper explicitly checks for EBADF and turns this into a non-error result.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19876>
_______________________________________
More information about the Python-bugs-list
mailing list