Skip to content

[3.6] bpo-31334: Fix timeout in select.poll.poll() (GH-3277) #4033

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 18, 2017

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington 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

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)
@miss-islington
Copy link
Contributor Author

@volans- and @Haypo: Backport status check is done, and it's a success ✅ .

@serhiy-storchaka serhiy-storchaka merged commit 97abcab into python:3.6 Oct 18, 2017
@miss-islington
Copy link
Contributor Author

Thanks, @serhiy-storchaka!

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.

5 participants