This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 2022-04-11 14:59 by admin.

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
2022-04-11 14:59:29adminsetgithub: 84433
2020-04-10 23:23:51russelldaviscreate