[issue29255] selects.KqueueSelector behaves incorrectly when no fds are registered

2020-04-15 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue29255] selects.KqueueSelector behaves incorrectly when no fds are registered

2020-04-15 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset ba1bcffe5cafc1bb0ac6fdf9ecef51e75e342707 by Russell Davis in branch 'master': bpo-29255: Wait in KqueueSelector.select when no fds are registered (GH-19508) https://github.com/python/cpython/commit/ba1bcffe5cafc1bb0ac6fdf9ecef51e75e342707 --

[issue29255] selects.KqueueSelector behaves incorrectly when no fds are registered

2020-04-14 Thread Russell Davis
Change by Russell Davis : -- keywords: +patch pull_requests: +18860 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19508 ___ Python tracker ___ __

[issue29255] selects.KqueueSelector behaves incorrectly when no fds are registered

2020-04-10 Thread Russell Davis
Russell Davis added the comment: This looks like it's the cause of https://bugs.python.org/issue25680 -- nosy: +russelldavis ___ Python tracker ___ ___

[issue29255] selects.KqueueSelector behaves incorrectly when no fds are registered

2017-01-12 Thread Nathaniel Smith
New submission from Nathaniel Smith: When calling kevent(), selectors.KqueueSelector.select sets the "maxevents" argument to len(self._fd_to_key). So if there are no fds registered, it passes maxevents=0. It turns out that the kevent() API has a special case behavior for maxevents=0: it retur