[New-bugs-announce] [issue31786] In select.poll.poll() ms can be 0 if timeout < 0
Serhiy Storchaka
report at bugs.python.org
Sat Oct 14 04:07:08 EDT 2017
New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:
According to the documentation select.poll.poll() is blocked for infinite timeout if the timeout argument is negative. But due to rounding it is possible that timeout < 0, but an integer ms passed to the poll() syscall is 0, and poll() is not blocked.
----------
components: Extension Modules
messages: 304386
nosy: haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: In select.poll.poll() ms can be 0 if timeout < 0
type: behavior
versions: Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31786>
_______________________________________
More information about the New-bugs-announce
mailing list