Skip to content
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

select.select() on Windows does not allow empty rlist. #83

Merged
merged 2 commits into from
Mar 5, 2013
Merged

select.select() on Windows does not allow empty rlist. #83

merged 2 commits into from
Mar 5, 2013

Conversation

Who8MyLunch
Copy link
Contributor

...be

empty. I added a simple check for this case and return the corresponding
empty results list to the caller.

See Python docs for details: http://docs.python.org/2/library/select.html#select.select

…to be

empty.  I added a simple check for this case and return the corresponding
empty results list to the caller.

See Python docs for details: http://docs.python.org/2/library/select.html#select.select
@Lawouach
Copy link
Owner

Lawouach commented Mar 5, 2013

Good catch.

@Who8MyLunch
Copy link
Contributor Author

Now with more Pythonism.

@Lawouach
Copy link
Owner

Lawouach commented Mar 5, 2013

Sounds good.

Lawouach added a commit that referenced this pull request Mar 5, 2013
select.select() on Windows does not allow empty rlist.
@Lawouach Lawouach merged commit 9ae6b9e into Lawouach:master Mar 5, 2013
@Lawouach
Copy link
Owner

Lawouach commented Mar 5, 2013

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants