{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/inboxapp/inbox-python/pulls/4","id":30821385,"html_url":"https://github.com/inboxapp/inbox-python/pull/4","diff_url":"https://github.com/inboxapp/inbox-python/pull/4.diff","patch_url":"https://github.com/inboxapp/inbox-python/pull/4.patch","issue_url":"https://api.github.com/repos/inboxapp/inbox-python/issues/4","number":4,"state":"closed","locked":false,"title":"Start initial work on a Python 3 port","user":{"login":"paultag","id":132447,"avatar_url":"https://avatars.githubusercontent.com/u/132447?v=3","gravatar_id":"","url":"https://api.github.com/users/paultag","html_url":"https://github.com/paultag","followers_url":"https://api.github.com/users/paultag/followers","following_url":"https://api.github.com/users/paultag/following{/other_user}","gists_url":"https://api.github.com/users/paultag/gists{/gist_id}","starred_url":"https://api.github.com/users/paultag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paultag/subscriptions","organizations_url":"https://api.github.com/users/paultag/orgs","repos_url":"https://api.github.com/users/paultag/repos","events_url":"https://api.github.com/users/paultag/events{/privacy}","received_events_url":"https://api.github.com/users/paultag/received_events","type":"User","site_admin":false},"body":"This just gets the tests passing, no further work in validating the bindings on Python 3 was done yet.\r\n\r\nInteresting notes - since `__getitem__` raises a `KeyError`, not an `AttributeError`, `hasattr` would bomb out. Neat.\r\n\r\nThis also eagerly consumes the `map` (since it's -- rightly -- an iterator), and does something similar with `.items` (which will be an iterator in Python 3 - I opted to not do two codepaths there, since the gain looks to be minimal usually)","created_at":"2015-03-10T04:07:05Z","updated_at":"2015-03-12T00:28:21Z","closed_at":"2015-03-12T00:28:21Z","merged_at":"2015-03-12T00:28:21Z","merge_commit_sha":"3cec9c3dbe020e60df3f21a7b0f7aa095e1e90f6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/inboxapp/inbox-python/pulls/4/commits","review_comments_url":"https://api.github.com/repos/inboxapp/inbox-python/pulls/4/comments","review_comment_url":"https://api.github.com/repos/inboxapp/inbox-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inboxapp/inbox-python/issues/4/comments","statuses_url":"https://api.github.com/repos/inboxapp/inbox-python/statuses/2ae9a24a338241a0541628e8fe9d9eee49f9017e","head":{"label":"paultag:paultag/bugfix/python3","ref":"paultag/bugfix/python3","sha":"2ae9a24a338241a0541628e8fe9d9eee49f9017e","user":{"login":"paultag","id":132447,"avatar_url":"https://avatars.githubusercontent.com/u/132447?v=3","gravatar_id":"","url":"https://api.github.com/users/paultag","html_url":"https://github.com/paultag","followers_url":"https://api.github.com/users/paultag/followers","following_url":"https://api.github.com/users/paultag/following{/other_user}","gists_url":"https://api.github.com/users/paultag/gists{/gist_id}","starred_url":"https://api.github.com/users/paultag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paultag/subscriptions","organizations_url":"https://api.github.com/users/paultag/orgs","repos_url":"https://api.github.com/users/paultag/repos","events_url":"https://api.github.com/users/paultag/events{/privacy}","received_events_url":"https://api.github.com/users/paultag/received_events","type":"User","site_admin":false},"repo":{"id":31937654,"name":"inbox-python","full_name":"paultag/inbox-python","owner":{"login":"paultag","id":132447,"avatar_url":"https://avatars.githubusercontent.com/u/132447?v=3","gravatar_id":"","url":"https://api.github.com/users/paultag","html_url":"https://github.com/paultag","followers_url":"https://api.github.com/users/paultag/followers","following_url":"https://api.github.com/users/paultag/following{/other_user}","gists_url":"https://api.github.com/users/paultag/gists{/gist_id}","starred_url":"https://api.github.com/users/paultag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paultag/subscriptions","organizations_url":"https://api.github.com/users/paultag/orgs","repos_url":"https://api.github.com/users/paultag/repos","events_url":"https://api.github.com/users/paultag/events{/privacy}","received_events_url":"https://api.github.com/users/paultag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paultag/inbox-python","description":"Python bindings for the Nilas API","fork":true,"url":"https://api.github.com/repos/paultag/inbox-python","forks_url":"https://api.github.com/repos/paultag/inbox-python/forks","keys_url":"https://api.github.com/repos/paultag/inbox-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paultag/inbox-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paultag/inbox-python/teams","hooks_url":"https://api.github.com/repos/paultag/inbox-python/hooks","issue_events_url":"https://api.github.com/repos/paultag/inbox-python/issues/events{/number}","events_url":"https://api.github.com/repos/paultag/inbox-python/events","assignees_url":"https://api.github.com/repos/paultag/inbox-python/assignees{/user}","branches_url":"https://api.github.com/repos/paultag/inbox-python/branches{/branch}","tags_url":"https://api.github.com/repos/paultag/inbox-python/tags","blobs_url":"https://api.github.com/repos/paultag/inbox-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paultag/inbox-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paultag/inbox-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/paultag/inbox-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paultag/inbox-python/statuses/{sha}","languages_url":"https://api.github.com/repos/paultag/inbox-python/languages","stargazers_url":"https://api.github.com/repos/paultag/inbox-python/stargazers","contributors_url":"https://api.github.com/repos/paultag/inbox-python/contributors","subscribers_url":"https://api.github.com/repos/paultag/inbox-python/subscribers","subscription_url":"https://api.github.com/repos/paultag/inbox-python/subscription","commits_url":"https://api.github.com/repos/paultag/inbox-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/paultag/inbox-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/paultag/inbox-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/paultag/inbox-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/paultag/inbox-python/contents/{+path}","compare_url":"https://api.github.com/repos/paultag/inbox-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paultag/inbox-python/merges","archive_url":"https://api.github.com/repos/paultag/inbox-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paultag/inbox-python/downloads","issues_url":"https://api.github.com/repos/paultag/inbox-python/issues{/number}","pulls_url":"https://api.github.com/repos/paultag/inbox-python/pulls{/number}","milestones_url":"https://api.github.com/repos/paultag/inbox-python/milestones{/number}","notifications_url":"https://api.github.com/repos/paultag/inbox-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paultag/inbox-python/labels{/name}","releases_url":"https://api.github.com/repos/paultag/inbox-python/releases{/id}","created_at":"2015-03-10T04:03:19Z","updated_at":"2015-03-10T04:03:19Z","pushed_at":"2015-03-11T00:19:41Z","git_url":"git://github.com/paultag/inbox-python.git","ssh_url":"git@github.com:paultag/inbox-python.git","clone_url":"https://github.com/paultag/inbox-python.git","svn_url":"https://github.com/paultag/inbox-python","homepage":"","size":177,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"inboxapp:master","ref":"master","sha":"6f80b2f673cca16d338d2fce699698c0b0d6eced","user":{"login":"inboxapp","id":4219865,"avatar_url":"https://avatars.githubusercontent.com/u/4219865?v=3","gravatar_id":"","url":"https://api.github.com/users/inboxapp","html_url":"https://github.com/inboxapp","followers_url":"https://api.github.com/users/inboxapp/followers","following_url":"https://api.github.com/users/inboxapp/following{/other_user}","gists_url":"https://api.github.com/users/inboxapp/gists{/gist_id}","starred_url":"https://api.github.com/users/inboxapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inboxapp/subscriptions","organizations_url":"https://api.github.com/users/inboxapp/orgs","repos_url":"https://api.github.com/users/inboxapp/repos","events_url":"https://api.github.com/users/inboxapp/events{/privacy}","received_events_url":"https://api.github.com/users/inboxapp/received_events","type":"Organization","site_admin":false},"repo":{"id":23127861,"name":"inbox-python","full_name":"inboxapp/inbox-python","owner":{"login":"inboxapp","id":4219865,"avatar_url":"https://avatars.githubusercontent.com/u/4219865?v=3","gravatar_id":"","url":"https://api.github.com/users/inboxapp","html_url":"https://github.com/inboxapp","followers_url":"https://api.github.com/users/inboxapp/followers","following_url":"https://api.github.com/users/inboxapp/following{/other_user}","gists_url":"https://api.github.com/users/inboxapp/gists{/gist_id}","starred_url":"https://api.github.com/users/inboxapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inboxapp/subscriptions","organizations_url":"https://api.github.com/users/inboxapp/orgs","repos_url":"https://api.github.com/users/inboxapp/repos","events_url":"https://api.github.com/users/inboxapp/events{/privacy}","received_events_url":"https://api.github.com/users/inboxapp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inboxapp/inbox-python","description":"Python bindings for the Nilas API","fork":false,"url":"https://api.github.com/repos/inboxapp/inbox-python","forks_url":"https://api.github.com/repos/inboxapp/inbox-python/forks","keys_url":"https://api.github.com/repos/inboxapp/inbox-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inboxapp/inbox-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inboxapp/inbox-python/teams","hooks_url":"https://api.github.com/repos/inboxapp/inbox-python/hooks","issue_events_url":"https://api.github.com/repos/inboxapp/inbox-python/issues/events{/number}","events_url":"https://api.github.com/repos/inboxapp/inbox-python/events","assignees_url":"https://api.github.com/repos/inboxapp/inbox-python/assignees{/user}","branches_url":"https://api.github.com/repos/inboxapp/inbox-python/branches{/branch}","tags_url":"https://api.github.com/repos/inboxapp/inbox-python/tags","blobs_url":"https://api.github.com/repos/inboxapp/inbox-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inboxapp/inbox-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inboxapp/inbox-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/inboxapp/inbox-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inboxapp/inbox-python/statuses/{sha}","languages_url":"https://api.github.com/repos/inboxapp/inbox-python/languages","stargazers_url":"https://api.github.com/repos/inboxapp/inbox-python/stargazers","contributors_url":"https://api.github.com/repos/inboxapp/inbox-python/contributors","subscribers_url":"https://api.github.com/repos/inboxapp/inbox-python/subscribers","subscription_url":"https://api.github.com/repos/inboxapp/inbox-python/subscription","commits_url":"https://api.github.com/repos/inboxapp/inbox-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/inboxapp/inbox-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/inboxapp/inbox-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/inboxapp/inbox-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/inboxapp/inbox-python/contents/{+path}","compare_url":"https://api.github.com/repos/inboxapp/inbox-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inboxapp/inbox-python/merges","archive_url":"https://api.github.com/repos/inboxapp/inbox-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inboxapp/inbox-python/downloads","issues_url":"https://api.github.com/repos/inboxapp/inbox-python/issues{/number}","pulls_url":"https://api.github.com/repos/inboxapp/inbox-python/pulls{/number}","milestones_url":"https://api.github.com/repos/inboxapp/inbox-python/milestones{/number}","notifications_url":"https://api.github.com/repos/inboxapp/inbox-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inboxapp/inbox-python/labels{/name}","releases_url":"https://api.github.com/repos/inboxapp/inbox-python/releases{/id}","created_at":"2014-08-19T22:30:03Z","updated_at":"2015-02-25T06:01:21Z","pushed_at":"2015-03-12T00:28:21Z","git_url":"git://github.com/inboxapp/inbox-python.git","ssh_url":"git@github.com:inboxapp/inbox-python.git","clone_url":"https://github.com/inboxapp/inbox-python.git","svn_url":"https://github.com/inboxapp/inbox-python","homepage":"","size":492,"stargazers_count":13,"watchers_count":13,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inboxapp/inbox-python/pulls/4"},"html":{"href":"https://github.com/inboxapp/inbox-python/pull/4"},"issue":{"href":"https://api.github.com/repos/inboxapp/inbox-python/issues/4"},"comments":{"href":"https://api.github.com/repos/inboxapp/inbox-python/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/inboxapp/inbox-python/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/inboxapp/inbox-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inboxapp/inbox-python/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/inboxapp/inbox-python/statuses/2ae9a24a338241a0541628e8fe9d9eee49f9017e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"spang","id":48515,"avatar_url":"https://avatars.githubusercontent.com/u/48515?v=3","gravatar_id":"","url":"https://api.github.com/users/spang","html_url":"https://github.com/spang","followers_url":"https://api.github.com/users/spang/followers","following_url":"https://api.github.com/users/spang/following{/other_user}","gists_url":"https://api.github.com/users/spang/gists{/gist_id}","starred_url":"https://api.github.com/users/spang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spang/subscriptions","organizations_url":"https://api.github.com/users/spang/orgs","repos_url":"https://api.github.com/users/spang/repos","events_url":"https://api.github.com/users/spang/events{/privacy}","received_events_url":"https://api.github.com/users/spang/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":9,"deletions":5,"changed_files":3}}