Author Manjusaka
Recipients Manjusaka, giampaolo.rodola, neologix, vstinner, yselivanov
Date 2018-12-17.12:54:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545051247.96.0.788709270274.issue35517@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2018-12-17 12:54:07Manjusakasetrecipients: + Manjusaka, vstinner, giampaolo.rodola, neologix, yselivanov
2018-12-17 12:54:07Manjusakasetmessageid: <1545051247.96.0.788709270274.issue35517@psf.upfronthosting.co.za>
2018-12-17 12:54:07Manjusakalinkissue35517 messages
2018-12-17 12:54:07Manjusakacreate