{"action":"created","comment":{"url":"https://api.github.com/repos/enthought/envisage/pulls/comments/40812823","id":40812823,"diff_hunk":"@@ -74,7 +82,7 @@ def test_file_resource(self):\n         f.close()\n \n         # Open the api file via the file system.\n-        g = file(filename, 'rb')\n+        g = open(filename, 'rb')","path":"envisage/resource/tests/resource_manager_test_case.py","position":65,"original_position":65,"commit_id":"3619c7e306b1ecd063d251126d940cfb4a7356bc","original_commit_id":"3619c7e306b1ecd063d251126d940cfb4a7356bc","user":{"login":"sjagoe","id":80012,"avatar_url":"https://avatars.githubusercontent.com/u/80012?v=3","gravatar_id":"","url":"https://api.github.com/users/sjagoe","html_url":"https://github.com/sjagoe","followers_url":"https://api.github.com/users/sjagoe/followers","following_url":"https://api.github.com/users/sjagoe/following{/other_user}","gists_url":"https://api.github.com/users/sjagoe/gists{/gist_id}","starred_url":"https://api.github.com/users/sjagoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjagoe/subscriptions","organizations_url":"https://api.github.com/users/sjagoe/orgs","repos_url":"https://api.github.com/users/sjagoe/repos","events_url":"https://api.github.com/users/sjagoe/events{/privacy}","received_events_url":"https://api.github.com/users/sjagoe/received_events","type":"User","site_admin":false},"body":"Please with `with open() as g`.","created_at":"2015-09-30T15:58:27Z","updated_at":"2015-09-30T15:58:27Z","html_url":"https://github.com/enthought/envisage/pull/61#discussion_r40812823","pull_request_url":"https://api.github.com/repos/enthought/envisage/pulls/61","_links":{"self":{"href":"https://api.github.com/repos/enthought/envisage/pulls/comments/40812823"},"html":{"href":"https://github.com/enthought/envisage/pull/61#discussion_r40812823"},"pull_request":{"href":"https://api.github.com/repos/enthought/envisage/pulls/61"}}},"pull_request":{"url":"https://api.github.com/repos/enthought/envisage/pulls/61","id":44412857,"html_url":"https://github.com/enthought/envisage/pull/61","diff_url":"https://github.com/enthought/envisage/pull/61.diff","patch_url":"https://github.com/enthought/envisage/pull/61.patch","issue_url":"https://api.github.com/repos/enthought/envisage/issues/61","number":61,"state":"open","locked":false,"title":"Feature/updated python3","user":{"login":"prabhuramachandran","id":272585,"avatar_url":"https://avatars.githubusercontent.com/u/272585?v=3","gravatar_id":"","url":"https://api.github.com/users/prabhuramachandran","html_url":"https://github.com/prabhuramachandran","followers_url":"https://api.github.com/users/prabhuramachandran/followers","following_url":"https://api.github.com/users/prabhuramachandran/following{/other_user}","gists_url":"https://api.github.com/users/prabhuramachandran/gists{/gist_id}","starred_url":"https://api.github.com/users/prabhuramachandran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prabhuramachandran/subscriptions","organizations_url":"https://api.github.com/users/prabhuramachandran/orgs","repos_url":"https://api.github.com/users/prabhuramachandran/repos","events_url":"https://api.github.com/users/prabhuramachandran/events{/privacy}","received_events_url":"https://api.github.com/users/prabhuramachandran/received_events","type":"User","site_admin":false},"body":"This cherry-picks Pradyun's changes and fixes conflicts.  All tests pass on Python3.4 for me with this PR.","created_at":"2015-09-08T09:56:13Z","updated_at":"2015-09-30T15:58:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97c664df989e3c1e638ad399c3fb0775be627c83","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/enthought/envisage/pulls/61/commits","review_comments_url":"https://api.github.com/repos/enthought/envisage/pulls/61/comments","review_comment_url":"https://api.github.com/repos/enthought/envisage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/enthought/envisage/issues/61/comments","statuses_url":"https://api.github.com/repos/enthought/envisage/statuses/3619c7e306b1ecd063d251126d940cfb4a7356bc","head":{"label":"enthought:feature/updated-python3","ref":"feature/updated-python3","sha":"3619c7e306b1ecd063d251126d940cfb4a7356bc","user":{"login":"enthought","id":539651,"avatar_url":"https://avatars.githubusercontent.com/u/539651?v=3","gravatar_id":"","url":"https://api.github.com/users/enthought","html_url":"https://github.com/enthought","followers_url":"https://api.github.com/users/enthought/followers","following_url":"https://api.github.com/users/enthought/following{/other_user}","gists_url":"https://api.github.com/users/enthought/gists{/gist_id}","starred_url":"https://api.github.com/users/enthought/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enthought/subscriptions","organizations_url":"https://api.github.com/users/enthought/orgs","repos_url":"https://api.github.com/users/enthought/repos","events_url":"https://api.github.com/users/enthought/events{/privacy}","received_events_url":"https://api.github.com/users/enthought/received_events","type":"Organization","site_admin":false},"repo":{"id":1676255,"name":"envisage","full_name":"enthought/envisage","owner":{"login":"enthought","id":539651,"avatar_url":"https://avatars.githubusercontent.com/u/539651?v=3","gravatar_id":"","url":"https://api.github.com/users/enthought","html_url":"https://github.com/enthought","followers_url":"https://api.github.com/users/enthought/followers","following_url":"https://api.github.com/users/enthought/following{/other_user}","gists_url":"https://api.github.com/users/enthought/gists{/gist_id}","starred_url":"https://api.github.com/users/enthought/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enthought/subscriptions","organizations_url":"https://api.github.com/users/enthought/orgs","repos_url":"https://api.github.com/users/enthought/repos","events_url":"https://api.github.com/users/enthought/events{/privacy}","received_events_url":"https://api.github.com/users/enthought/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enthought/envisage","description":"Envisage is a Python-based framework for building applications whose functionalities can be extended by adding \"plug-ins\".","fork":false,"url":"https://api.github.com/repos/enthought/envisage","forks_url":"https://api.github.com/repos/enthought/envisage/forks","keys_url":"https://api.github.com/repos/enthought/envisage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enthought/envisage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enthought/envisage/teams","hooks_url":"https://api.github.com/repos/enthought/envisage/hooks","issue_events_url":"https://api.github.com/repos/enthought/envisage/issues/events{/number}","events_url":"https://api.github.com/repos/enthought/envisage/events","assignees_url":"https://api.github.com/repos/enthought/envisage/assignees{/user}","branches_url":"https://api.github.com/repos/enthought/envisage/branches{/branch}","tags_url":"https://api.github.com/repos/enthought/envisage/tags","blobs_url":"https://api.github.com/repos/enthought/envisage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enthought/envisage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enthought/envisage/git/refs{/sha}","trees_url":"https://api.github.com/repos/enthought/envisage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enthought/envisage/statuses/{sha}","languages_url":"https://api.github.com/repos/enthought/envisage/languages","stargazers_url":"https://api.github.com/repos/enthought/envisage/stargazers","contributors_url":"https://api.github.com/repos/enthought/envisage/contributors","subscribers_url":"https://api.github.com/repos/enthought/envisage/subscribers","subscription_url":"https://api.github.com/repos/enthought/envisage/subscription","commits_url":"https://api.github.com/repos/enthought/envisage/commits{/sha}","git_commits_url":"https://api.github.com/repos/enthought/envisage/git/commits{/sha}","comments_url":"https://api.github.com/repos/enthought/envisage/comments{/number}","issue_comment_url":"https://api.github.com/repos/enthought/envisage/issues/comments{/number}","contents_url":"https://api.github.com/repos/enthought/envisage/contents/{+path}","compare_url":"https://api.github.com/repos/enthought/envisage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enthought/envisage/merges","archive_url":"https://api.github.com/repos/enthought/envisage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enthought/envisage/downloads","issues_url":"https://api.github.com/repos/enthought/envisage/issues{/number}","pulls_url":"https://api.github.com/repos/enthought/envisage/pulls{/number}","milestones_url":"https://api.github.com/repos/enthought/envisage/milestones{/number}","notifications_url":"https://api.github.com/repos/enthought/envisage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enthought/envisage/labels{/name}","releases_url":"https://api.github.com/repos/enthought/envisage/releases{/id}","created_at":"2011-04-28T15:07:06Z","updated_at":"2015-08-02T03:40:31Z","pushed_at":"2015-09-08T10:09:47Z","git_url":"git://github.com/enthought/envisage.git","ssh_url":"git@github.com:enthought/envisage.git","clone_url":"https://github.com/enthought/envisage.git","svn_url":"https://github.com/enthought/envisage","homepage":"http://code.enthought.com/projects/envisage/","size":5145,"stargazers_count":26,"watchers_count":26,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":15,"forks":14,"open_issues":15,"watchers":26,"default_branch":"master"}},"base":{"label":"enthought:master","ref":"master","sha":"ca28bbff8b4e8874e3dd258c467e32fc2497266a","user":{"login":"enthought","id":539651,"avatar_url":"https://avatars.githubusercontent.com/u/539651?v=3","gravatar_id":"","url":"https://api.github.com/users/enthought","html_url":"https://github.com/enthought","followers_url":"https://api.github.com/users/enthought/followers","following_url":"https://api.github.com/users/enthought/following{/other_user}","gists_url":"https://api.github.com/users/enthought/gists{/gist_id}","starred_url":"https://api.github.com/users/enthought/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enthought/subscriptions","organizations_url":"https://api.github.com/users/enthought/orgs","repos_url":"https://api.github.com/users/enthought/repos","events_url":"https://api.github.com/users/enthought/events{/privacy}","received_events_url":"https://api.github.com/users/enthought/received_events","type":"Organization","site_admin":false},"repo":{"id":1676255,"name":"envisage","full_name":"enthought/envisage","owner":{"login":"enthought","id":539651,"avatar_url":"https://avatars.githubusercontent.com/u/539651?v=3","gravatar_id":"","url":"https://api.github.com/users/enthought","html_url":"https://github.com/enthought","followers_url":"https://api.github.com/users/enthought/followers","following_url":"https://api.github.com/users/enthought/following{/other_user}","gists_url":"https://api.github.com/users/enthought/gists{/gist_id}","starred_url":"https://api.github.com/users/enthought/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enthought/subscriptions","organizations_url":"https://api.github.com/users/enthought/orgs","repos_url":"https://api.github.com/users/enthought/repos","events_url":"https://api.github.com/users/enthought/events{/privacy}","received_events_url":"https://api.github.com/users/enthought/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/enthought/envisage","description":"Envisage is a Python-based framework for building applications whose functionalities can be extended by adding \"plug-ins\".","fork":false,"url":"https://api.github.com/repos/enthought/envisage","forks_url":"https://api.github.com/repos/enthought/envisage/forks","keys_url":"https://api.github.com/repos/enthought/envisage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/enthought/envisage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/enthought/envisage/teams","hooks_url":"https://api.github.com/repos/enthought/envisage/hooks","issue_events_url":"https://api.github.com/repos/enthought/envisage/issues/events{/number}","events_url":"https://api.github.com/repos/enthought/envisage/events","assignees_url":"https://api.github.com/repos/enthought/envisage/assignees{/user}","branches_url":"https://api.github.com/repos/enthought/envisage/branches{/branch}","tags_url":"https://api.github.com/repos/enthought/envisage/tags","blobs_url":"https://api.github.com/repos/enthought/envisage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/enthought/envisage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/enthought/envisage/git/refs{/sha}","trees_url":"https://api.github.com/repos/enthought/envisage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/enthought/envisage/statuses/{sha}","languages_url":"https://api.github.com/repos/enthought/envisage/languages","stargazers_url":"https://api.github.com/repos/enthought/envisage/stargazers","contributors_url":"https://api.github.com/repos/enthought/envisage/contributors","subscribers_url":"https://api.github.com/repos/enthought/envisage/subscribers","subscription_url":"https://api.github.com/repos/enthought/envisage/subscription","commits_url":"https://api.github.com/repos/enthought/envisage/commits{/sha}","git_commits_url":"https://api.github.com/repos/enthought/envisage/git/commits{/sha}","comments_url":"https://api.github.com/repos/enthought/envisage/comments{/number}","issue_comment_url":"https://api.github.com/repos/enthought/envisage/issues/comments{/number}","contents_url":"https://api.github.com/repos/enthought/envisage/contents/{+path}","compare_url":"https://api.github.com/repos/enthought/envisage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/enthought/envisage/merges","archive_url":"https://api.github.com/repos/enthought/envisage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/enthought/envisage/downloads","issues_url":"https://api.github.com/repos/enthought/envisage/issues{/number}","pulls_url":"https://api.github.com/repos/enthought/envisage/pulls{/number}","milestones_url":"https://api.github.com/repos/enthought/envisage/milestones{/number}","notifications_url":"https://api.github.com/repos/enthought/envisage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/enthought/envisage/labels{/name}","releases_url":"https://api.github.com/repos/enthought/envisage/releases{/id}","created_at":"2011-04-28T15:07:06Z","updated_at":"2015-08-02T03:40:31Z","pushed_at":"2015-09-08T10:09:47Z","git_url":"git://github.com/enthought/envisage.git","ssh_url":"git@github.com:enthought/envisage.git","clone_url":"https://github.com/enthought/envisage.git","svn_url":"https://github.com/enthought/envisage","homepage":"http://code.enthought.com/projects/envisage/","size":5145,"stargazers_count":26,"watchers_count":26,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":15,"forks":14,"open_issues":15,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/enthought/envisage/pulls/61"},"html":{"href":"https://github.com/enthought/envisage/pull/61"},"issue":{"href":"https://api.github.com/repos/enthought/envisage/issues/61"},"comments":{"href":"https://api.github.com/repos/enthought/envisage/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/enthought/envisage/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/enthought/envisage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/enthought/envisage/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/enthought/envisage/statuses/3619c7e306b1ecd063d251126d940cfb4a7356bc"}}}}