1. 22 Mar, 2016 3 commits
    • Jason Madden's avatar
      sleep if the native select immediately returned results · a139200c
      Jason Madden authored
      This makes the two branches equivalent in terms of scheduling. Fixes
      notably test_ftplib.py which relies on running a "threaded" server.
      a139200c
    • Jason Madden's avatar
    • Jason Madden's avatar
      Improve compliance of select.select and select.poll · 2906dda0
      Jason Madden authored
      - Compliance: If :func:`gevent.select.select` is given a negative *timeout*
        argument, raise an exception like the standard library does.
      - Compliance: If :func:`gevent.select.select` is given closed or invalid
        file descriptors in any of its lists, raise the appropriate
        ``EBADF`` exception like the standard library does. Previously,
        libev would tend to return the descriptor as ready. In the worst
        case, this adds an extra system call, but may also reduce latency if
        descriptors are ready at the time of entry.
      - Compliance: :meth:`gevent.select.poll.unregister` raises an exception if *fd* is not
        registered, like the standard library.
      - Compliance: :meth:`gevent.select.poll.poll` returns an event with
        ``POLLNVAL`` for registered fds that are invalid. Previously it
        would tend to report both read and write events.
      2906dda0
  2. 21 Mar, 2016 8 commits
  3. 18 Mar, 2016 4 commits
  4. 17 Mar, 2016 2 commits
  5. 16 Mar, 2016 14 commits
  6. 15 Mar, 2016 3 commits
  7. 12 Mar, 2016 2 commits
  8. 11 Mar, 2016 4 commits