On Windows select.select() does not allow the first argument (rlist) 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