[New-bugs-announce] [issue28087] Mac OS X poll syscall returns prematurely

Ennis Massey report at bugs.python.org
Sun Sep 11 19:36:48 EDT 2016


New submission from Ennis Massey:

Upon calling the select.poll objects poll method with no file descriptors registered, it will return an empty list immediately, regardless of the timeout given. This is a problem in the Mac OS X kernels implementation of the poll syscall, but the test can be easily fixed by binding a throwaway socket to the poll objects, and then using the poll method as usual.

Build details are attached

----------
components: Macintosh
files: buildlog.log
messages: 275887
nosy: MicroTransactionsMatterToo, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: Mac OS X poll syscall returns prematurely
type: compile error
versions: Python 3.6
Added file: http://bugs.python.org/file44569/buildlog.log

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28087>
_______________________________________


More information about the New-bugs-announce mailing list