Author vstinner
Recipients bboneva, giampaolo.rodola, vstinner
Date 2017-09-28.15:05:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506611148.46.0.466225441844.issue31610@psf.upfronthosting.co.za>
In-reply-to
Content
> I recommend to use selectors.PollSelector and fallback on selectors.SelectSelector where not available (Windows) in order to use 1 syscall only. That's what we did already in socket.py, subprocess.py and others.

It would be nice to have an API in selectors to get a "lightweight" selector, for selector and poll.

This API would be appropriate to check on macOS if poll() works or not: bpo-28087.
History
Date User Action Args
2017-09-28 15:05:48vstinnersetrecipients: + vstinner, giampaolo.rodola, bboneva
2017-09-28 15:05:48vstinnersetmessageid: <1506611148.46.0.466225441844.issue31610@psf.upfronthosting.co.za>
2017-09-28 15:05:48vstinnerlinkissue31610 messages
2017-09-28 15:05:48vstinnercreate