Message331999
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 |
|
Date |
User |
Action |
Args |
2018-12-17 12:54:07 | Manjusaka | set | recipients:
+ Manjusaka, vstinner, giampaolo.rodola, neologix, yselivanov |
2018-12-17 12:54:07 | Manjusaka | set | messageid: <1545051247.96.0.788709270274.issue35517@psf.upfronthosting.co.za> |
2018-12-17 12:54:07 | Manjusaka | link | issue35517 messages |
2018-12-17 12:54:07 | Manjusaka | create | |
|