Manjusaka <lizheao940...@gmail.com> added the comment:
Vicor: > Moreover, we directly support any EPOLL constant exposed in the select > module. No need to change the API. I don't think so In class _PollLikeSelector ,here's register method def register(self, fileobj, events, data=None): key = super().register(fileobj, events, data) poller_events = 0 if events & EVENT_READ: poller_events |= self._EVENT_READ if events & EVENT_WRITE: poller_events |= self._EVENT_WRITE this code filter the event that people push in it. It only supports select.EPOLLIN and select.EPOLLOUT ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35517> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com