{"action":"created","issue":{"url":"https://api.github.com/repos/gevent/gevent/issues/780","repository_url":"https://api.github.com/repos/gevent/gevent","labels_url":"https://api.github.com/repos/gevent/gevent/issues/780/labels{/name}","comments_url":"https://api.github.com/repos/gevent/gevent/issues/780/comments","events_url":"https://api.github.com/repos/gevent/gevent/issues/780/events","html_url":"https://github.com/gevent/gevent/pull/780","id":142686249,"number":780,"title":"Improve compliance of select.select and select.poll","user":{"login":"jamadden","id":1256082,"avatar_url":"https://avatars.githubusercontent.com/u/1256082?v=3","gravatar_id":"","url":"https://api.github.com/users/jamadden","html_url":"https://github.com/jamadden","followers_url":"https://api.github.com/users/jamadden/followers","following_url":"https://api.github.com/users/jamadden/following{/other_user}","gists_url":"https://api.github.com/users/jamadden/gists{/gist_id}","starred_url":"https://api.github.com/users/jamadden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamadden/subscriptions","organizations_url":"https://api.github.com/users/jamadden/orgs","repos_url":"https://api.github.com/users/jamadden/repos","events_url":"https://api.github.com/users/jamadden/events{/privacy}","received_events_url":"https://api.github.com/users/jamadden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-22T15:30:11Z","updated_at":"2016-03-22T16:42:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gevent/gevent/pulls/780","html_url":"https://github.com/gevent/gevent/pull/780","diff_url":"https://github.com/gevent/gevent/pull/780.diff","patch_url":"https://github.com/gevent/gevent/pull/780.patch"},"body":"- Compliance: If :func:`gevent.select.select` is given a negative *timeout*\n  argument, raise an exception like the standard library does.\n- Compliance: If :func:`gevent.select.select` is given closed or invalid\n  file descriptors in any of its lists, raise the appropriate\n  ``EBADF`` exception like the standard library does. Previously,\n  libev would tend to return the descriptor as ready. In the worst\n  case, this adds an extra system call, but may also reduce latency if\n  descriptors are ready at the time of entry.\n- Compliance: :meth:`gevent.select.poll.unregister` raises an exception if *fd* is not\n  registered, like the standard library.\n- Compliance: :meth:`gevent.select.poll.poll` returns an event with\n  ``POLLNVAL`` for registered fds that are invalid. Previously it\n  would tend to report both read and write events."},"comment":{"url":"https://api.github.com/repos/gevent/gevent/issues/comments/199897200","html_url":"https://github.com/gevent/gevent/pull/780#issuecomment-199897200","issue_url":"https://api.github.com/repos/gevent/gevent/issues/780","id":199897200,"user":{"login":"landscape-bot","id":10010231,"avatar_url":"https://avatars.githubusercontent.com/u/10010231?v=3","gravatar_id":"","url":"https://api.github.com/users/landscape-bot","html_url":"https://github.com/landscape-bot","followers_url":"https://api.github.com/users/landscape-bot/followers","following_url":"https://api.github.com/users/landscape-bot/following{/other_user}","gists_url":"https://api.github.com/users/landscape-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/landscape-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landscape-bot/subscriptions","organizations_url":"https://api.github.com/users/landscape-bot/orgs","repos_url":"https://api.github.com/users/landscape-bot/repos","events_url":"https://api.github.com/users/landscape-bot/events{/privacy}","received_events_url":"https://api.github.com/users/landscape-bot/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T16:42:58Z","updated_at":"2016-03-22T16:42:58Z","body":"[![Code Health](https://landscape.io/badge/334260/landscape.svg?style=flat)](https://landscape.io/diff/308023)\nCode quality remained the same when pulling **[a06e2ff](https://github.com/gevent/gevent/commit/a06e2ff403ccd85c4f9c585bd965dfdcfb741add) on gevent:select-errors** into **[57a7c07](https://github.com/gevent/gevent/commit/57a7c0779ccfe6188fc41c8a0a997b731a2b928c) on gevent:faster-globals-imports**."}}