classification
Title: selectors.KqueueSelector should not be the default selector
Type: Stage:
Components: asyncio, IO, Library (Lib) Versions: Python 3.9, Python 3.8, Python 3.7, Python 3.6, Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, russelldavis, yselivanov
Priority: normal Keywords:

Created on 2020-04-10 23:23 by russelldavis, last changed 2020-04-10 23:23 by russelldavis.

Messages (1)
msg366168 - (view) Author: Russell Davis (russelldavis) * Date: 2020-04-10 23:23
There are at least two outstanding bugs where KqueueSelector behaves differently than the other selectors:

#40251
#25680

This breaks the abstraction of being able to rely on DefaultSelector() to provide consistent behavior. At least on macOS, PollSelector works reliably, so I propose using that instead of KqueueSelector when setting DefaultSelector. (Even if the above bugs eventually get fixed, sticking with PollSelector when possible seems more likely to avoid similar future issues.)
History
Date User Action Args
2020-04-10 23:23:51russelldaviscreate