{"action":"opened","number":20,"pull_request":{"url":"https://api.github.com/repos/saghul/pycares/pulls/20","id":52983994,"html_url":"https://github.com/saghul/pycares/pull/20","diff_url":"https://github.com/saghul/pycares/pull/20.diff","patch_url":"https://github.com/saghul/pycares/pull/20.patch","issue_url":"https://api.github.com/repos/saghul/pycares/issues/20","number":20,"state":"open","locked":false,"title":"fix tcp resolve bug","user":{"login":"boytm","id":5652342,"avatar_url":"https://avatars.githubusercontent.com/u/5652342?v=3","gravatar_id":"","url":"https://api.github.com/users/boytm","html_url":"https://github.com/boytm","followers_url":"https://api.github.com/users/boytm/followers","following_url":"https://api.github.com/users/boytm/following{/other_user}","gists_url":"https://api.github.com/users/boytm/gists{/gist_id}","starred_url":"https://api.github.com/users/boytm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boytm/subscriptions","organizations_url":"https://api.github.com/users/boytm/orgs","repos_url":"https://api.github.com/users/boytm/repos","events_url":"https://api.github.com/users/boytm/events{/privacy}","received_events_url":"https://api.github.com/users/boytm/received_events","type":"User","site_admin":false},"body":"fix a bug. \r\nWhen resolve by tcp, readable and writable events both are required. But\r\n pyuv.UV_READABLE if readable else 0 | pyuv.UV_WRITABLE if writable else 0 = 1   # only read event eventually\r\nexpect\r\n (pyuv.UV_READABLE if readable else 0) | (pyuv.UV_WRITABLE if writable else 0) = 3 # both","created_at":"2015-12-08T14:04:47Z","updated_at":"2015-12-08T14:04:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/saghul/pycares/pulls/20/commits","review_comments_url":"https://api.github.com/repos/saghul/pycares/pulls/20/comments","review_comment_url":"https://api.github.com/repos/saghul/pycares/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saghul/pycares/issues/20/comments","statuses_url":"https://api.github.com/repos/saghul/pycares/statuses/c7894bdd153aab2a8ec84c9bceb197512d1439ba","head":{"label":"boytm:patch-1","ref":"patch-1","sha":"c7894bdd153aab2a8ec84c9bceb197512d1439ba","user":{"login":"boytm","id":5652342,"avatar_url":"https://avatars.githubusercontent.com/u/5652342?v=3","gravatar_id":"","url":"https://api.github.com/users/boytm","html_url":"https://github.com/boytm","followers_url":"https://api.github.com/users/boytm/followers","following_url":"https://api.github.com/users/boytm/following{/other_user}","gists_url":"https://api.github.com/users/boytm/gists{/gist_id}","starred_url":"https://api.github.com/users/boytm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boytm/subscriptions","organizations_url":"https://api.github.com/users/boytm/orgs","repos_url":"https://api.github.com/users/boytm/repos","events_url":"https://api.github.com/users/boytm/events{/privacy}","received_events_url":"https://api.github.com/users/boytm/received_events","type":"User","site_admin":false},"repo":{"id":47625159,"name":"pycares","full_name":"boytm/pycares","owner":{"login":"boytm","id":5652342,"avatar_url":"https://avatars.githubusercontent.com/u/5652342?v=3","gravatar_id":"","url":"https://api.github.com/users/boytm","html_url":"https://github.com/boytm","followers_url":"https://api.github.com/users/boytm/followers","following_url":"https://api.github.com/users/boytm/following{/other_user}","gists_url":"https://api.github.com/users/boytm/gists{/gist_id}","starred_url":"https://api.github.com/users/boytm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boytm/subscriptions","organizations_url":"https://api.github.com/users/boytm/orgs","repos_url":"https://api.github.com/users/boytm/repos","events_url":"https://api.github.com/users/boytm/events{/privacy}","received_events_url":"https://api.github.com/users/boytm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boytm/pycares","description":"Python interface for c-ares","fork":true,"url":"https://api.github.com/repos/boytm/pycares","forks_url":"https://api.github.com/repos/boytm/pycares/forks","keys_url":"https://api.github.com/repos/boytm/pycares/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boytm/pycares/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boytm/pycares/teams","hooks_url":"https://api.github.com/repos/boytm/pycares/hooks","issue_events_url":"https://api.github.com/repos/boytm/pycares/issues/events{/number}","events_url":"https://api.github.com/repos/boytm/pycares/events","assignees_url":"https://api.github.com/repos/boytm/pycares/assignees{/user}","branches_url":"https://api.github.com/repos/boytm/pycares/branches{/branch}","tags_url":"https://api.github.com/repos/boytm/pycares/tags","blobs_url":"https://api.github.com/repos/boytm/pycares/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boytm/pycares/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boytm/pycares/git/refs{/sha}","trees_url":"https://api.github.com/repos/boytm/pycares/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boytm/pycares/statuses/{sha}","languages_url":"https://api.github.com/repos/boytm/pycares/languages","stargazers_url":"https://api.github.com/repos/boytm/pycares/stargazers","contributors_url":"https://api.github.com/repos/boytm/pycares/contributors","subscribers_url":"https://api.github.com/repos/boytm/pycares/subscribers","subscription_url":"https://api.github.com/repos/boytm/pycares/subscription","commits_url":"https://api.github.com/repos/boytm/pycares/commits{/sha}","git_commits_url":"https://api.github.com/repos/boytm/pycares/git/commits{/sha}","comments_url":"https://api.github.com/repos/boytm/pycares/comments{/number}","issue_comment_url":"https://api.github.com/repos/boytm/pycares/issues/comments{/number}","contents_url":"https://api.github.com/repos/boytm/pycares/contents/{+path}","compare_url":"https://api.github.com/repos/boytm/pycares/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boytm/pycares/merges","archive_url":"https://api.github.com/repos/boytm/pycares/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boytm/pycares/downloads","issues_url":"https://api.github.com/repos/boytm/pycares/issues{/number}","pulls_url":"https://api.github.com/repos/boytm/pycares/pulls{/number}","milestones_url":"https://api.github.com/repos/boytm/pycares/milestones{/number}","notifications_url":"https://api.github.com/repos/boytm/pycares/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boytm/pycares/labels{/name}","releases_url":"https://api.github.com/repos/boytm/pycares/releases{/id}","created_at":"2015-12-08T13:52:39Z","updated_at":"2015-12-08T13:52:40Z","pushed_at":"2015-12-08T14:03:25Z","git_url":"git://github.com/boytm/pycares.git","ssh_url":"git@github.com:boytm/pycares.git","clone_url":"https://github.com/boytm/pycares.git","svn_url":"https://github.com/boytm/pycares","homepage":"https://pypi.python.org/pypi/pycares","size":339,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"saghul:master","ref":"master","sha":"54efa4e48ed7f8c1335c6ed44d41da4792e973b3","user":{"login":"saghul","id":317464,"avatar_url":"https://avatars.githubusercontent.com/u/317464?v=3","gravatar_id":"","url":"https://api.github.com/users/saghul","html_url":"https://github.com/saghul","followers_url":"https://api.github.com/users/saghul/followers","following_url":"https://api.github.com/users/saghul/following{/other_user}","gists_url":"https://api.github.com/users/saghul/gists{/gist_id}","starred_url":"https://api.github.com/users/saghul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saghul/subscriptions","organizations_url":"https://api.github.com/users/saghul/orgs","repos_url":"https://api.github.com/users/saghul/repos","events_url":"https://api.github.com/users/saghul/events{/privacy}","received_events_url":"https://api.github.com/users/saghul/received_events","type":"User","site_admin":false},"repo":{"id":4949798,"name":"pycares","full_name":"saghul/pycares","owner":{"login":"saghul","id":317464,"avatar_url":"https://avatars.githubusercontent.com/u/317464?v=3","gravatar_id":"","url":"https://api.github.com/users/saghul","html_url":"https://github.com/saghul","followers_url":"https://api.github.com/users/saghul/followers","following_url":"https://api.github.com/users/saghul/following{/other_user}","gists_url":"https://api.github.com/users/saghul/gists{/gist_id}","starred_url":"https://api.github.com/users/saghul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saghul/subscriptions","organizations_url":"https://api.github.com/users/saghul/orgs","repos_url":"https://api.github.com/users/saghul/repos","events_url":"https://api.github.com/users/saghul/events{/privacy}","received_events_url":"https://api.github.com/users/saghul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/saghul/pycares","description":"Python interface for c-ares","fork":false,"url":"https://api.github.com/repos/saghul/pycares","forks_url":"https://api.github.com/repos/saghul/pycares/forks","keys_url":"https://api.github.com/repos/saghul/pycares/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saghul/pycares/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saghul/pycares/teams","hooks_url":"https://api.github.com/repos/saghul/pycares/hooks","issue_events_url":"https://api.github.com/repos/saghul/pycares/issues/events{/number}","events_url":"https://api.github.com/repos/saghul/pycares/events","assignees_url":"https://api.github.com/repos/saghul/pycares/assignees{/user}","branches_url":"https://api.github.com/repos/saghul/pycares/branches{/branch}","tags_url":"https://api.github.com/repos/saghul/pycares/tags","blobs_url":"https://api.github.com/repos/saghul/pycares/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saghul/pycares/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saghul/pycares/git/refs{/sha}","trees_url":"https://api.github.com/repos/saghul/pycares/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saghul/pycares/statuses/{sha}","languages_url":"https://api.github.com/repos/saghul/pycares/languages","stargazers_url":"https://api.github.com/repos/saghul/pycares/stargazers","contributors_url":"https://api.github.com/repos/saghul/pycares/contributors","subscribers_url":"https://api.github.com/repos/saghul/pycares/subscribers","subscription_url":"https://api.github.com/repos/saghul/pycares/subscription","commits_url":"https://api.github.com/repos/saghul/pycares/commits{/sha}","git_commits_url":"https://api.github.com/repos/saghul/pycares/git/commits{/sha}","comments_url":"https://api.github.com/repos/saghul/pycares/comments{/number}","issue_comment_url":"https://api.github.com/repos/saghul/pycares/issues/comments{/number}","contents_url":"https://api.github.com/repos/saghul/pycares/contents/{+path}","compare_url":"https://api.github.com/repos/saghul/pycares/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saghul/pycares/merges","archive_url":"https://api.github.com/repos/saghul/pycares/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saghul/pycares/downloads","issues_url":"https://api.github.com/repos/saghul/pycares/issues{/number}","pulls_url":"https://api.github.com/repos/saghul/pycares/pulls{/number}","milestones_url":"https://api.github.com/repos/saghul/pycares/milestones{/number}","notifications_url":"https://api.github.com/repos/saghul/pycares/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saghul/pycares/labels{/name}","releases_url":"https://api.github.com/repos/saghul/pycares/releases{/id}","created_at":"2012-07-08T20:55:01Z","updated_at":"2015-10-23T18:50:22Z","pushed_at":"2015-09-02T08:10:20Z","git_url":"git://github.com/saghul/pycares.git","ssh_url":"git@github.com:saghul/pycares.git","clone_url":"https://github.com/saghul/pycares.git","svn_url":"https://github.com/saghul/pycares","homepage":"https://pypi.python.org/pypi/pycares","size":730,"stargazers_count":42,"watchers_count":42,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":2,"forks":16,"open_issues":2,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/saghul/pycares/pulls/20"},"html":{"href":"https://github.com/saghul/pycares/pull/20"},"issue":{"href":"https://api.github.com/repos/saghul/pycares/issues/20"},"comments":{"href":"https://api.github.com/repos/saghul/pycares/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/saghul/pycares/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/saghul/pycares/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saghul/pycares/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/saghul/pycares/statuses/c7894bdd153aab2a8ec84c9bceb197512d1439ba"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}