{"action":"created","comment":{"url":"https://api.github.com/repos/google/oauth2client/pulls/comments/27700245","id":27700245,"diff_hunk":"@@ -272,7 +272,7 @@ def new_from_json(cls, s):\n       An instance of the subclass of Credentials that was serialized with\n       to_json().\n     \"\"\"\n-    if six.PY3 and isinstance(s, bytes):","path":"oauth2client/client.py","position":4,"original_position":4,"commit_id":"ed365860e4b615dc17291fbbc29a0383288344ed","original_commit_id":"ed365860e4b615dc17291fbbc29a0383288344ed","user":{"login":"dhermes","id":520669,"avatar_url":"https://avatars.githubusercontent.com/u/520669?v=3","gravatar_id":"","url":"https://api.github.com/users/dhermes","html_url":"https://github.com/dhermes","followers_url":"https://api.github.com/users/dhermes/followers","following_url":"https://api.github.com/users/dhermes/following{/other_user}","gists_url":"https://api.github.com/users/dhermes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhermes/subscriptions","organizations_url":"https://api.github.com/users/dhermes/orgs","repos_url":"https://api.github.com/users/dhermes/repos","events_url":"https://api.github.com/users/dhermes/events{/privacy}","received_events_url":"https://api.github.com/users/dhermes/received_events","type":"User","site_admin":false},"body":"`six.binary_type` is typically used over `bytes`","created_at":"2015-04-02T21:43:39Z","updated_at":"2015-04-02T21:43:39Z","html_url":"https://github.com/google/oauth2client/pull/157#discussion_r27700245","pull_request_url":"https://api.github.com/repos/google/oauth2client/pulls/157","_links":{"self":{"href":"https://api.github.com/repos/google/oauth2client/pulls/comments/27700245"},"html":{"href":"https://github.com/google/oauth2client/pull/157#discussion_r27700245"},"pull_request":{"href":"https://api.github.com/repos/google/oauth2client/pulls/157"}}},"pull_request":{"url":"https://api.github.com/repos/google/oauth2client/pulls/157","id":32325765,"html_url":"https://github.com/google/oauth2client/pull/157","diff_url":"https://github.com/google/oauth2client/pull/157.diff","patch_url":"https://github.com/google/oauth2client/pull/157.patch","issue_url":"https://api.github.com/repos/google/oauth2client/issues/157","number":157,"state":"open","locked":false,"title":"utf-8 decode bytes inputs for python3 compat + python3 test fix","user":{"login":"saaros","id":529621,"avatar_url":"https://avatars.githubusercontent.com/u/529621?v=3","gravatar_id":"","url":"https://api.github.com/users/saaros","html_url":"https://github.com/saaros","followers_url":"https://api.github.com/users/saaros/followers","following_url":"https://api.github.com/users/saaros/following{/other_user}","gists_url":"https://api.github.com/users/saaros/gists{/gist_id}","starred_url":"https://api.github.com/users/saaros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saaros/subscriptions","organizations_url":"https://api.github.com/users/saaros/orgs","repos_url":"https://api.github.com/users/saaros/repos","events_url":"https://api.github.com/users/saaros/events{/privacy}","received_events_url":"https://api.github.com/users/saaros/received_events","type":"User","site_admin":false},"body":"* json loading: always utf-8 decode `bytes` inputs\r\n* tests: use six.moves.urllib for py2/3 compatibility\r\n","created_at":"2015-03-31T14:10:43Z","updated_at":"2015-04-02T21:43:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"63a2b5b20d77e0f885ec0f6cee934f011ee7190c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/oauth2client/pulls/157/commits","review_comments_url":"https://api.github.com/repos/google/oauth2client/pulls/157/comments","review_comment_url":"https://api.github.com/repos/google/oauth2client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/oauth2client/issues/157/comments","statuses_url":"https://api.github.com/repos/google/oauth2client/statuses/ed365860e4b615dc17291fbbc29a0383288344ed","head":{"label":"saaros:py3-compat","ref":"py3-compat","sha":"ed365860e4b615dc17291fbbc29a0383288344ed","user":{"login":"saaros","id":529621,"avatar_url":"https://avatars.githubusercontent.com/u/529621?v=3","gravatar_id":"","url":"https://api.github.com/users/saaros","html_url":"https://github.com/saaros","followers_url":"https://api.github.com/users/saaros/followers","following_url":"https://api.github.com/users/saaros/following{/other_user}","gists_url":"https://api.github.com/users/saaros/gists{/gist_id}","starred_url":"https://api.github.com/users/saaros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saaros/subscriptions","organizations_url":"https://api.github.com/users/saaros/orgs","repos_url":"https://api.github.com/users/saaros/repos","events_url":"https://api.github.com/users/saaros/events{/privacy}","received_events_url":"https://api.github.com/users/saaros/received_events","type":"User","site_admin":false},"repo":{"id":32790788,"name":"oauth2client","full_name":"saaros/oauth2client","owner":{"login":"saaros","id":529621,"avatar_url":"https://avatars.githubusercontent.com/u/529621?v=3","gravatar_id":"","url":"https://api.github.com/users/saaros","html_url":"https://github.com/saaros","followers_url":"https://api.github.com/users/saaros/followers","following_url":"https://api.github.com/users/saaros/following{/other_user}","gists_url":"https://api.github.com/users/saaros/gists{/gist_id}","starred_url":"https://api.github.com/users/saaros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saaros/subscriptions","organizations_url":"https://api.github.com/users/saaros/orgs","repos_url":"https://api.github.com/users/saaros/repos","events_url":"https://api.github.com/users/saaros/events{/privacy}","received_events_url":"https://api.github.com/users/saaros/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/saaros/oauth2client","description":"This is a python library for accessing resources protected by OAuth 2.0.","fork":true,"url":"https://api.github.com/repos/saaros/oauth2client","forks_url":"https://api.github.com/repos/saaros/oauth2client/forks","keys_url":"https://api.github.com/repos/saaros/oauth2client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saaros/oauth2client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saaros/oauth2client/teams","hooks_url":"https://api.github.com/repos/saaros/oauth2client/hooks","issue_events_url":"https://api.github.com/repos/saaros/oauth2client/issues/events{/number}","events_url":"https://api.github.com/repos/saaros/oauth2client/events","assignees_url":"https://api.github.com/repos/saaros/oauth2client/assignees{/user}","branches_url":"https://api.github.com/repos/saaros/oauth2client/branches{/branch}","tags_url":"https://api.github.com/repos/saaros/oauth2client/tags","blobs_url":"https://api.github.com/repos/saaros/oauth2client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saaros/oauth2client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saaros/oauth2client/git/refs{/sha}","trees_url":"https://api.github.com/repos/saaros/oauth2client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saaros/oauth2client/statuses/{sha}","languages_url":"https://api.github.com/repos/saaros/oauth2client/languages","stargazers_url":"https://api.github.com/repos/saaros/oauth2client/stargazers","contributors_url":"https://api.github.com/repos/saaros/oauth2client/contributors","subscribers_url":"https://api.github.com/repos/saaros/oauth2client/subscribers","subscription_url":"https://api.github.com/repos/saaros/oauth2client/subscription","commits_url":"https://api.github.com/repos/saaros/oauth2client/commits{/sha}","git_commits_url":"https://api.github.com/repos/saaros/oauth2client/git/commits{/sha}","comments_url":"https://api.github.com/repos/saaros/oauth2client/comments{/number}","issue_comment_url":"https://api.github.com/repos/saaros/oauth2client/issues/comments{/number}","contents_url":"https://api.github.com/repos/saaros/oauth2client/contents/{+path}","compare_url":"https://api.github.com/repos/saaros/oauth2client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saaros/oauth2client/merges","archive_url":"https://api.github.com/repos/saaros/oauth2client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saaros/oauth2client/downloads","issues_url":"https://api.github.com/repos/saaros/oauth2client/issues{/number}","pulls_url":"https://api.github.com/repos/saaros/oauth2client/pulls{/number}","milestones_url":"https://api.github.com/repos/saaros/oauth2client/milestones{/number}","notifications_url":"https://api.github.com/repos/saaros/oauth2client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saaros/oauth2client/labels{/name}","releases_url":"https://api.github.com/repos/saaros/oauth2client/releases{/id}","created_at":"2015-03-24T10:09:16Z","updated_at":"2015-03-24T10:23:00Z","pushed_at":"2015-03-31T14:08:15Z","git_url":"git://github.com/saaros/oauth2client.git","ssh_url":"git@github.com:saaros/oauth2client.git","clone_url":"https://github.com/saaros/oauth2client.git","svn_url":"https://github.com/saaros/oauth2client","homepage":"","size":21917,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"0a6241c792f0c833f2f176292b0c7ea5623eabfd","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":14211461,"name":"oauth2client","full_name":"google/oauth2client","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/oauth2client","description":"This is a python library for accessing resources protected by OAuth 2.0.","fork":false,"url":"https://api.github.com/repos/google/oauth2client","forks_url":"https://api.github.com/repos/google/oauth2client/forks","keys_url":"https://api.github.com/repos/google/oauth2client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/oauth2client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/oauth2client/teams","hooks_url":"https://api.github.com/repos/google/oauth2client/hooks","issue_events_url":"https://api.github.com/repos/google/oauth2client/issues/events{/number}","events_url":"https://api.github.com/repos/google/oauth2client/events","assignees_url":"https://api.github.com/repos/google/oauth2client/assignees{/user}","branches_url":"https://api.github.com/repos/google/oauth2client/branches{/branch}","tags_url":"https://api.github.com/repos/google/oauth2client/tags","blobs_url":"https://api.github.com/repos/google/oauth2client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/oauth2client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/oauth2client/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/oauth2client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/oauth2client/statuses/{sha}","languages_url":"https://api.github.com/repos/google/oauth2client/languages","stargazers_url":"https://api.github.com/repos/google/oauth2client/stargazers","contributors_url":"https://api.github.com/repos/google/oauth2client/contributors","subscribers_url":"https://api.github.com/repos/google/oauth2client/subscribers","subscription_url":"https://api.github.com/repos/google/oauth2client/subscription","commits_url":"https://api.github.com/repos/google/oauth2client/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/oauth2client/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/oauth2client/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/oauth2client/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/oauth2client/contents/{+path}","compare_url":"https://api.github.com/repos/google/oauth2client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/oauth2client/merges","archive_url":"https://api.github.com/repos/google/oauth2client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/oauth2client/downloads","issues_url":"https://api.github.com/repos/google/oauth2client/issues{/number}","pulls_url":"https://api.github.com/repos/google/oauth2client/pulls{/number}","milestones_url":"https://api.github.com/repos/google/oauth2client/milestones{/number}","notifications_url":"https://api.github.com/repos/google/oauth2client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/oauth2client/labels{/name}","releases_url":"https://api.github.com/repos/google/oauth2client/releases{/id}","created_at":"2013-11-07T18:03:04Z","updated_at":"2015-04-02T19:05:20Z","pushed_at":"2015-03-31T14:10:44Z","git_url":"git://github.com/google/oauth2client.git","ssh_url":"git@github.com:google/oauth2client.git","clone_url":"https://github.com/google/oauth2client.git","svn_url":"https://github.com/google/oauth2client","homepage":"","size":24053,"stargazers_count":150,"watchers_count":150,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":73,"mirror_url":null,"open_issues_count":35,"forks":73,"open_issues":35,"watchers":150,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/oauth2client/pulls/157"},"html":{"href":"https://github.com/google/oauth2client/pull/157"},"issue":{"href":"https://api.github.com/repos/google/oauth2client/issues/157"},"comments":{"href":"https://api.github.com/repos/google/oauth2client/issues/157/comments"},"review_comments":{"href":"https://api.github.com/repos/google/oauth2client/pulls/157/comments"},"review_comment":{"href":"https://api.github.com/repos/google/oauth2client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/oauth2client/pulls/157/commits"},"statuses":{"href":"https://api.github.com/repos/google/oauth2client/statuses/ed365860e4b615dc17291fbbc29a0383288344ed"}}}}