[New-bugs-announce] [issue40252] selectors.KqueueSelector should not be the default selector

Russell Davis report at bugs.python.org
Fri Apr 10 19:23:51 EDT 2020


New submission from Russell Davis <russell.davis at gmail.com>:

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.)

----------
components: IO, Library (Lib), asyncio
messages: 366168
nosy: asvetlov, russelldavis, yselivanov
priority: normal
severity: normal
status: open
title: selectors.KqueueSelector should not be the default selector
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40252>
_______________________________________


More information about the New-bugs-announce mailing list