[issue23009] selectors.EpollSelector.select raises exception when nothing to select.
STINNER Victor
report at bugs.python.org
Mon Dec 8 17:01:36 CET 2014
STINNER Victor added the comment:
It's a little bit surprising to call epoll_wait() without any FD subscribed, but select([], [], [], delay) is a known way to sleep 'delay' seconds, so why not using epoll in a similar way? :-)
epoll_02.patch looks good to me. Can you please also apply the patch to the Tulip project?
(By the way, test_selectors.py to Tulip is completly different, we may just reuse the file from CPython and drop the code from Tulip.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23009>
_______________________________________
More information about the Python-bugs-list
mailing list