Skip to content

Conversation

@volans-
Copy link
Contributor

@volans- volans- commented Oct 18, 2017

Always pass -1, or INFTIM where defined, to the poll() system call when
a negative timeout is passed to the poll.poll([timeout]) method in the
select module. Various OSes throw an error with arbitrary negative
values..
(cherry picked from commit 6cfa927)

https://bugs.python.org/issue31334

https://bugs.python.org/issue31334

Always pass -1, or INFTIM where defined, to the poll() system call when
a negative timeout is passed to the poll.poll([timeout]) method in the
select module. Various OSes throw an error with arbitrary negative
values..
(cherry picked from commit 6cfa927)
@serhiy-storchaka serhiy-storchaka merged commit 27b951c into python:2.7 Oct 18, 2017
@volans- volans- deleted the backport-6cfa927-2.7 branch October 18, 2017 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants