{"action":"created","comment":{"url":"https://api.github.com/repos/open-research/sumatra/pulls/comments/34277229","id":34277229,"diff_hunk":"@@ -13,6 +13,7 @@ def main(parameters, [other_args...]):\n \"\"\"\n from __future__ import unicode_literals\n \n+from builtins import str","path":"sumatra/decorators.py","position":4,"original_position":4,"commit_id":"f03ac04865f80e63f90e51de77e5190afd0ccaa6","original_commit_id":"f03ac04865f80e63f90e51de77e5190afd0ccaa6","user":{"login":"maxalbert","id":2692805,"avatar_url":"https://avatars.githubusercontent.com/u/2692805?v=3","gravatar_id":"","url":"https://api.github.com/users/maxalbert","html_url":"https://github.com/maxalbert","followers_url":"https://api.github.com/users/maxalbert/followers","following_url":"https://api.github.com/users/maxalbert/following{/other_user}","gists_url":"https://api.github.com/users/maxalbert/gists{/gist_id}","starred_url":"https://api.github.com/users/maxalbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxalbert/subscriptions","organizations_url":"https://api.github.com/users/maxalbert/orgs","repos_url":"https://api.github.com/users/maxalbert/repos","events_url":"https://api.github.com/users/maxalbert/events{/privacy}","received_events_url":"https://api.github.com/users/maxalbert/received_events","type":"User","site_admin":false},"body":"Ah, I see. Apparently I need to look more into the existing Py2/Py3 compatibility infrastructure. Thanks for the explanation!","created_at":"2015-07-09T17:00:09Z","updated_at":"2015-07-09T17:00:09Z","html_url":"https://github.com/open-research/sumatra/pull/271#discussion_r34277229","pull_request_url":"https://api.github.com/repos/open-research/sumatra/pulls/271","_links":{"self":{"href":"https://api.github.com/repos/open-research/sumatra/pulls/comments/34277229"},"html":{"href":"https://github.com/open-research/sumatra/pull/271#discussion_r34277229"},"pull_request":{"href":"https://api.github.com/repos/open-research/sumatra/pulls/271"}}},"pull_request":{"url":"https://api.github.com/repos/open-research/sumatra/pulls/271","id":39476523,"html_url":"https://github.com/open-research/sumatra/pull/271","diff_url":"https://github.com/open-research/sumatra/pull/271.diff","patch_url":"https://github.com/open-research/sumatra/pull/271.patch","issue_url":"https://api.github.com/repos/open-research/sumatra/issues/271","number":271,"state":"closed","locked":false,"title":"Fix #268 by converting Py2 str to unicode-like","user":{"login":"timtroendle","id":3090386,"avatar_url":"https://avatars.githubusercontent.com/u/3090386?v=3","gravatar_id":"","url":"https://api.github.com/users/timtroendle","html_url":"https://github.com/timtroendle","followers_url":"https://api.github.com/users/timtroendle/followers","following_url":"https://api.github.com/users/timtroendle/following{/other_user}","gists_url":"https://api.github.com/users/timtroendle/gists{/gist_id}","starred_url":"https://api.github.com/users/timtroendle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timtroendle/subscriptions","organizations_url":"https://api.github.com/users/timtroendle/orgs","repos_url":"https://api.github.com/users/timtroendle/repos","events_url":"https://api.github.com/users/timtroendle/events{/privacy}","received_events_url":"https://api.github.com/users/timtroendle/received_events","type":"User","site_admin":false},"body":"``io.StringIO`` does not accept Py2 ``str``, hence the strings from stdout must be wrapped in Py2.\r\n\r\nFixes #268.","created_at":"2015-07-08T13:27:42Z","updated_at":"2015-07-09T17:00:09Z","closed_at":"2015-07-08T20:16:14Z","merged_at":"2015-07-08T20:16:14Z","merge_commit_sha":"7ab5ca748d022fece59e57b477471cbe6fe39ce1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/open-research/sumatra/pulls/271/commits","review_comments_url":"https://api.github.com/repos/open-research/sumatra/pulls/271/comments","review_comment_url":"https://api.github.com/repos/open-research/sumatra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-research/sumatra/issues/271/comments","statuses_url":"https://api.github.com/repos/open-research/sumatra/statuses/f03ac04865f80e63f90e51de77e5190afd0ccaa6","head":{"label":"timtroendle:fix-capture-decorator-in-py2","ref":"fix-capture-decorator-in-py2","sha":"f03ac04865f80e63f90e51de77e5190afd0ccaa6","user":{"login":"timtroendle","id":3090386,"avatar_url":"https://avatars.githubusercontent.com/u/3090386?v=3","gravatar_id":"","url":"https://api.github.com/users/timtroendle","html_url":"https://github.com/timtroendle","followers_url":"https://api.github.com/users/timtroendle/followers","following_url":"https://api.github.com/users/timtroendle/following{/other_user}","gists_url":"https://api.github.com/users/timtroendle/gists{/gist_id}","starred_url":"https://api.github.com/users/timtroendle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timtroendle/subscriptions","organizations_url":"https://api.github.com/users/timtroendle/orgs","repos_url":"https://api.github.com/users/timtroendle/repos","events_url":"https://api.github.com/users/timtroendle/events{/privacy}","received_events_url":"https://api.github.com/users/timtroendle/received_events","type":"User","site_admin":false},"repo":{"id":35307394,"name":"sumatra","full_name":"timtroendle/sumatra","owner":{"login":"timtroendle","id":3090386,"avatar_url":"https://avatars.githubusercontent.com/u/3090386?v=3","gravatar_id":"","url":"https://api.github.com/users/timtroendle","html_url":"https://github.com/timtroendle","followers_url":"https://api.github.com/users/timtroendle/followers","following_url":"https://api.github.com/users/timtroendle/following{/other_user}","gists_url":"https://api.github.com/users/timtroendle/gists{/gist_id}","starred_url":"https://api.github.com/users/timtroendle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timtroendle/subscriptions","organizations_url":"https://api.github.com/users/timtroendle/orgs","repos_url":"https://api.github.com/users/timtroendle/repos","events_url":"https://api.github.com/users/timtroendle/events{/privacy}","received_events_url":"https://api.github.com/users/timtroendle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timtroendle/sumatra","description":"","fork":true,"url":"https://api.github.com/repos/timtroendle/sumatra","forks_url":"https://api.github.com/repos/timtroendle/sumatra/forks","keys_url":"https://api.github.com/repos/timtroendle/sumatra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timtroendle/sumatra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timtroendle/sumatra/teams","hooks_url":"https://api.github.com/repos/timtroendle/sumatra/hooks","issue_events_url":"https://api.github.com/repos/timtroendle/sumatra/issues/events{/number}","events_url":"https://api.github.com/repos/timtroendle/sumatra/events","assignees_url":"https://api.github.com/repos/timtroendle/sumatra/assignees{/user}","branches_url":"https://api.github.com/repos/timtroendle/sumatra/branches{/branch}","tags_url":"https://api.github.com/repos/timtroendle/sumatra/tags","blobs_url":"https://api.github.com/repos/timtroendle/sumatra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timtroendle/sumatra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timtroendle/sumatra/git/refs{/sha}","trees_url":"https://api.github.com/repos/timtroendle/sumatra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timtroendle/sumatra/statuses/{sha}","languages_url":"https://api.github.com/repos/timtroendle/sumatra/languages","stargazers_url":"https://api.github.com/repos/timtroendle/sumatra/stargazers","contributors_url":"https://api.github.com/repos/timtroendle/sumatra/contributors","subscribers_url":"https://api.github.com/repos/timtroendle/sumatra/subscribers","subscription_url":"https://api.github.com/repos/timtroendle/sumatra/subscription","commits_url":"https://api.github.com/repos/timtroendle/sumatra/commits{/sha}","git_commits_url":"https://api.github.com/repos/timtroendle/sumatra/git/commits{/sha}","comments_url":"https://api.github.com/repos/timtroendle/sumatra/comments{/number}","issue_comment_url":"https://api.github.com/repos/timtroendle/sumatra/issues/comments{/number}","contents_url":"https://api.github.com/repos/timtroendle/sumatra/contents/{+path}","compare_url":"https://api.github.com/repos/timtroendle/sumatra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timtroendle/sumatra/merges","archive_url":"https://api.github.com/repos/timtroendle/sumatra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timtroendle/sumatra/downloads","issues_url":"https://api.github.com/repos/timtroendle/sumatra/issues{/number}","pulls_url":"https://api.github.com/repos/timtroendle/sumatra/pulls{/number}","milestones_url":"https://api.github.com/repos/timtroendle/sumatra/milestones{/number}","notifications_url":"https://api.github.com/repos/timtroendle/sumatra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timtroendle/sumatra/labels{/name}","releases_url":"https://api.github.com/repos/timtroendle/sumatra/releases{/id}","created_at":"2015-05-08T23:51:28Z","updated_at":"2015-05-08T23:51:29Z","pushed_at":"2015-07-09T10:57:09Z","git_url":"git://github.com/timtroendle/sumatra.git","ssh_url":"git@github.com:timtroendle/sumatra.git","clone_url":"https://github.com/timtroendle/sumatra.git","svn_url":"https://github.com/timtroendle/sumatra","homepage":"http://neuralensemble.org/sumatra/","size":11943,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"open-research:master","ref":"master","sha":"5ca2a323231fa7b1597bca560df6848d62ead552","user":{"login":"open-research","id":10632694,"avatar_url":"https://avatars.githubusercontent.com/u/10632694?v=3","gravatar_id":"","url":"https://api.github.com/users/open-research","html_url":"https://github.com/open-research","followers_url":"https://api.github.com/users/open-research/followers","following_url":"https://api.github.com/users/open-research/following{/other_user}","gists_url":"https://api.github.com/users/open-research/gists{/gist_id}","starred_url":"https://api.github.com/users/open-research/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-research/subscriptions","organizations_url":"https://api.github.com/users/open-research/orgs","repos_url":"https://api.github.com/users/open-research/repos","events_url":"https://api.github.com/users/open-research/events{/privacy}","received_events_url":"https://api.github.com/users/open-research/received_events","type":"Organization","site_admin":false},"repo":{"id":29988964,"name":"sumatra","full_name":"open-research/sumatra","owner":{"login":"open-research","id":10632694,"avatar_url":"https://avatars.githubusercontent.com/u/10632694?v=3","gravatar_id":"","url":"https://api.github.com/users/open-research","html_url":"https://github.com/open-research","followers_url":"https://api.github.com/users/open-research/followers","following_url":"https://api.github.com/users/open-research/following{/other_user}","gists_url":"https://api.github.com/users/open-research/gists{/gist_id}","starred_url":"https://api.github.com/users/open-research/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-research/subscriptions","organizations_url":"https://api.github.com/users/open-research/orgs","repos_url":"https://api.github.com/users/open-research/repos","events_url":"https://api.github.com/users/open-research/events{/privacy}","received_events_url":"https://api.github.com/users/open-research/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-research/sumatra","description":"","fork":false,"url":"https://api.github.com/repos/open-research/sumatra","forks_url":"https://api.github.com/repos/open-research/sumatra/forks","keys_url":"https://api.github.com/repos/open-research/sumatra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-research/sumatra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-research/sumatra/teams","hooks_url":"https://api.github.com/repos/open-research/sumatra/hooks","issue_events_url":"https://api.github.com/repos/open-research/sumatra/issues/events{/number}","events_url":"https://api.github.com/repos/open-research/sumatra/events","assignees_url":"https://api.github.com/repos/open-research/sumatra/assignees{/user}","branches_url":"https://api.github.com/repos/open-research/sumatra/branches{/branch}","tags_url":"https://api.github.com/repos/open-research/sumatra/tags","blobs_url":"https://api.github.com/repos/open-research/sumatra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-research/sumatra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-research/sumatra/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-research/sumatra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-research/sumatra/statuses/{sha}","languages_url":"https://api.github.com/repos/open-research/sumatra/languages","stargazers_url":"https://api.github.com/repos/open-research/sumatra/stargazers","contributors_url":"https://api.github.com/repos/open-research/sumatra/contributors","subscribers_url":"https://api.github.com/repos/open-research/sumatra/subscribers","subscription_url":"https://api.github.com/repos/open-research/sumatra/subscription","commits_url":"https://api.github.com/repos/open-research/sumatra/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-research/sumatra/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-research/sumatra/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-research/sumatra/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-research/sumatra/contents/{+path}","compare_url":"https://api.github.com/repos/open-research/sumatra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-research/sumatra/merges","archive_url":"https://api.github.com/repos/open-research/sumatra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-research/sumatra/downloads","issues_url":"https://api.github.com/repos/open-research/sumatra/issues{/number}","pulls_url":"https://api.github.com/repos/open-research/sumatra/pulls{/number}","milestones_url":"https://api.github.com/repos/open-research/sumatra/milestones{/number}","notifications_url":"https://api.github.com/repos/open-research/sumatra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-research/sumatra/labels{/name}","releases_url":"https://api.github.com/repos/open-research/sumatra/releases{/id}","created_at":"2015-01-28T21:23:43Z","updated_at":"2015-07-07T17:01:37Z","pushed_at":"2015-07-09T11:56:39Z","git_url":"git://github.com/open-research/sumatra.git","ssh_url":"git@github.com:open-research/sumatra.git","clone_url":"https://github.com/open-research/sumatra.git","svn_url":"https://github.com/open-research/sumatra","homepage":"http://neuralensemble.org/sumatra/","size":13318,"stargazers_count":20,"watchers_count":20,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":64,"forks":17,"open_issues":64,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-research/sumatra/pulls/271"},"html":{"href":"https://github.com/open-research/sumatra/pull/271"},"issue":{"href":"https://api.github.com/repos/open-research/sumatra/issues/271"},"comments":{"href":"https://api.github.com/repos/open-research/sumatra/issues/271/comments"},"review_comments":{"href":"https://api.github.com/repos/open-research/sumatra/pulls/271/comments"},"review_comment":{"href":"https://api.github.com/repos/open-research/sumatra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-research/sumatra/pulls/271/commits"},"statuses":{"href":"https://api.github.com/repos/open-research/sumatra/statuses/f03ac04865f80e63f90e51de77e5190afd0ccaa6"}}}}