{"action":"created","comment":{"url":"https://api.github.com/repos/DMOJ/judge/pulls/comments/151604576","pull_request_review_id":77198781,"id":151604576,"diff_hunk":"@@ -103,7 +111,7 @@ def get_syscall_id(self, syscall):\n     def readstr(self, address, max_size=4096):\n         if self.address_bits == 32:\n             address &= 0xFFFFFFFF\n-        return super(AdvancedDebugger, self).readstr(address, max_size)\n+        return super(AdvancedDebugger, self).readstr(address, max_size).decode('utf-8')","path":"dmoj/cptbox/sandbox.py","position":43,"original_position":40,"commit_id":"44e08f4a755fc3c88ead36e0b2c0a74b96dcf42e","original_commit_id":"48009ce661c397b4f11a97a4387f80adb5d8454a","user":{"login":"quantum5","id":461885,"avatar_url":"https://avatars3.githubusercontent.com/u/461885?v=4","gravatar_id":"","url":"https://api.github.com/users/quantum5","html_url":"https://github.com/quantum5","followers_url":"https://api.github.com/users/quantum5/followers","following_url":"https://api.github.com/users/quantum5/following{/other_user}","gists_url":"https://api.github.com/users/quantum5/gists{/gist_id}","starred_url":"https://api.github.com/users/quantum5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quantum5/subscriptions","organizations_url":"https://api.github.com/users/quantum5/orgs","repos_url":"https://api.github.com/users/quantum5/repos","events_url":"https://api.github.com/users/quantum5/events{/privacy}","received_events_url":"https://api.github.com/users/quantum5/received_events","type":"User","site_admin":false},"body":"This is good enough for now. We should catch UnicodeDecodeError and kill the subprocess, since potential security hole.","created_at":"2017-11-17T05:14:52Z","updated_at":"2017-11-17T05:21:17Z","html_url":"https://github.com/DMOJ/judge/pull/275#discussion_r151604576","pull_request_url":"https://api.github.com/repos/DMOJ/judge/pulls/275","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/DMOJ/judge/pulls/comments/151604576"},"html":{"href":"https://github.com/DMOJ/judge/pull/275#discussion_r151604576"},"pull_request":{"href":"https://api.github.com/repos/DMOJ/judge/pulls/275"}},"in_reply_to_id":151344791},"pull_request":{"url":"https://api.github.com/repos/DMOJ/judge/pulls/275","id":152961390,"html_url":"https://github.com/DMOJ/judge/pull/275","diff_url":"https://github.com/DMOJ/judge/pull/275.diff","patch_url":"https://github.com/DMOJ/judge/pull/275.patch","issue_url":"https://api.github.com/repos/DMOJ/judge/issues/275","number":275,"state":"open","locked":false,"title":"Implement Python 3 support","user":{"login":"Xyene","id":1403503,"avatar_url":"https://avatars1.githubusercontent.com/u/1403503?v=4","gravatar_id":"","url":"https://api.github.com/users/Xyene","html_url":"https://github.com/Xyene","followers_url":"https://api.github.com/users/Xyene/followers","following_url":"https://api.github.com/users/Xyene/following{/other_user}","gists_url":"https://api.github.com/users/Xyene/gists{/gist_id}","starred_url":"https://api.github.com/users/Xyene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xyene/subscriptions","organizations_url":"https://api.github.com/users/Xyene/orgs","repos_url":"https://api.github.com/users/Xyene/repos","events_url":"https://api.github.com/users/Xyene/events{/privacy}","received_events_url":"https://api.github.com/users/Xyene/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-16T06:31:52Z","updated_at":"2017-11-17T05:21:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"36f075c4aa492f47c11dd7318b082a513cf5e9a7","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/DMOJ/judge/pulls/275/commits","review_comments_url":"https://api.github.com/repos/DMOJ/judge/pulls/275/comments","review_comment_url":"https://api.github.com/repos/DMOJ/judge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DMOJ/judge/issues/275/comments","statuses_url":"https://api.github.com/repos/DMOJ/judge/statuses/44e08f4a755fc3c88ead36e0b2c0a74b96dcf42e","head":{"label":"DMOJ:PY3","ref":"PY3","sha":"44e08f4a755fc3c88ead36e0b2c0a74b96dcf42e","user":{"login":"DMOJ","id":6934864,"avatar_url":"https://avatars3.githubusercontent.com/u/6934864?v=4","gravatar_id":"","url":"https://api.github.com/users/DMOJ","html_url":"https://github.com/DMOJ","followers_url":"https://api.github.com/users/DMOJ/followers","following_url":"https://api.github.com/users/DMOJ/following{/other_user}","gists_url":"https://api.github.com/users/DMOJ/gists{/gist_id}","starred_url":"https://api.github.com/users/DMOJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DMOJ/subscriptions","organizations_url":"https://api.github.com/users/DMOJ/orgs","repos_url":"https://api.github.com/users/DMOJ/repos","events_url":"https://api.github.com/users/DMOJ/events{/privacy}","received_events_url":"https://api.github.com/users/DMOJ/received_events","type":"Organization","site_admin":false},"repo":{"id":17750275,"name":"judge","full_name":"DMOJ/judge","owner":{"login":"DMOJ","id":6934864,"avatar_url":"https://avatars3.githubusercontent.com/u/6934864?v=4","gravatar_id":"","url":"https://api.github.com/users/DMOJ","html_url":"https://github.com/DMOJ","followers_url":"https://api.github.com/users/DMOJ/followers","following_url":"https://api.github.com/users/DMOJ/following{/other_user}","gists_url":"https://api.github.com/users/DMOJ/gists{/gist_id}","starred_url":"https://api.github.com/users/DMOJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DMOJ/subscriptions","organizations_url":"https://api.github.com/users/DMOJ/orgs","repos_url":"https://api.github.com/users/DMOJ/repos","events_url":"https://api.github.com/users/DMOJ/events{/privacy}","received_events_url":"https://api.github.com/users/DMOJ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DMOJ/judge","description":"A modern, open-source online judge and contest platform system.","fork":false,"url":"https://api.github.com/repos/DMOJ/judge","forks_url":"https://api.github.com/repos/DMOJ/judge/forks","keys_url":"https://api.github.com/repos/DMOJ/judge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DMOJ/judge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DMOJ/judge/teams","hooks_url":"https://api.github.com/repos/DMOJ/judge/hooks","issue_events_url":"https://api.github.com/repos/DMOJ/judge/issues/events{/number}","events_url":"https://api.github.com/repos/DMOJ/judge/events","assignees_url":"https://api.github.com/repos/DMOJ/judge/assignees{/user}","branches_url":"https://api.github.com/repos/DMOJ/judge/branches{/branch}","tags_url":"https://api.github.com/repos/DMOJ/judge/tags","blobs_url":"https://api.github.com/repos/DMOJ/judge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DMOJ/judge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DMOJ/judge/git/refs{/sha}","trees_url":"https://api.github.com/repos/DMOJ/judge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DMOJ/judge/statuses/{sha}","languages_url":"https://api.github.com/repos/DMOJ/judge/languages","stargazers_url":"https://api.github.com/repos/DMOJ/judge/stargazers","contributors_url":"https://api.github.com/repos/DMOJ/judge/contributors","subscribers_url":"https://api.github.com/repos/DMOJ/judge/subscribers","subscription_url":"https://api.github.com/repos/DMOJ/judge/subscription","commits_url":"https://api.github.com/repos/DMOJ/judge/commits{/sha}","git_commits_url":"https://api.github.com/repos/DMOJ/judge/git/commits{/sha}","comments_url":"https://api.github.com/repos/DMOJ/judge/comments{/number}","issue_comment_url":"https://api.github.com/repos/DMOJ/judge/issues/comments{/number}","contents_url":"https://api.github.com/repos/DMOJ/judge/contents/{+path}","compare_url":"https://api.github.com/repos/DMOJ/judge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DMOJ/judge/merges","archive_url":"https://api.github.com/repos/DMOJ/judge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DMOJ/judge/downloads","issues_url":"https://api.github.com/repos/DMOJ/judge/issues{/number}","pulls_url":"https://api.github.com/repos/DMOJ/judge/pulls{/number}","milestones_url":"https://api.github.com/repos/DMOJ/judge/milestones{/number}","notifications_url":"https://api.github.com/repos/DMOJ/judge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DMOJ/judge/labels{/name}","releases_url":"https://api.github.com/repos/DMOJ/judge/releases{/id}","deployments_url":"https://api.github.com/repos/DMOJ/judge/deployments","created_at":"2014-03-14T15:14:10Z","updated_at":"2017-11-12T16:26:13Z","pushed_at":"2017-11-17T05:01:09Z","git_url":"git://github.com/DMOJ/judge.git","ssh_url":"git@github.com:DMOJ/judge.git","clone_url":"https://github.com/DMOJ/judge.git","svn_url":"https://github.com/DMOJ/judge","homepage":"https://dmoj.ca","size":5305,"stargazers_count":180,"watchers_count":180,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"archived":false,"open_issues_count":29,"forks":48,"open_issues":29,"watchers":180,"default_branch":"master"}},"base":{"label":"DMOJ:master","ref":"master","sha":"1a09ae6b0a8cd019a667bf8d27beb1373de18c4f","user":{"login":"DMOJ","id":6934864,"avatar_url":"https://avatars3.githubusercontent.com/u/6934864?v=4","gravatar_id":"","url":"https://api.github.com/users/DMOJ","html_url":"https://github.com/DMOJ","followers_url":"https://api.github.com/users/DMOJ/followers","following_url":"https://api.github.com/users/DMOJ/following{/other_user}","gists_url":"https://api.github.com/users/DMOJ/gists{/gist_id}","starred_url":"https://api.github.com/users/DMOJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DMOJ/subscriptions","organizations_url":"https://api.github.com/users/DMOJ/orgs","repos_url":"https://api.github.com/users/DMOJ/repos","events_url":"https://api.github.com/users/DMOJ/events{/privacy}","received_events_url":"https://api.github.com/users/DMOJ/received_events","type":"Organization","site_admin":false},"repo":{"id":17750275,"name":"judge","full_name":"DMOJ/judge","owner":{"login":"DMOJ","id":6934864,"avatar_url":"https://avatars3.githubusercontent.com/u/6934864?v=4","gravatar_id":"","url":"https://api.github.com/users/DMOJ","html_url":"https://github.com/DMOJ","followers_url":"https://api.github.com/users/DMOJ/followers","following_url":"https://api.github.com/users/DMOJ/following{/other_user}","gists_url":"https://api.github.com/users/DMOJ/gists{/gist_id}","starred_url":"https://api.github.com/users/DMOJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DMOJ/subscriptions","organizations_url":"https://api.github.com/users/DMOJ/orgs","repos_url":"https://api.github.com/users/DMOJ/repos","events_url":"https://api.github.com/users/DMOJ/events{/privacy}","received_events_url":"https://api.github.com/users/DMOJ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DMOJ/judge","description":"A modern, open-source online judge and contest platform system.","fork":false,"url":"https://api.github.com/repos/DMOJ/judge","forks_url":"https://api.github.com/repos/DMOJ/judge/forks","keys_url":"https://api.github.com/repos/DMOJ/judge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DMOJ/judge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DMOJ/judge/teams","hooks_url":"https://api.github.com/repos/DMOJ/judge/hooks","issue_events_url":"https://api.github.com/repos/DMOJ/judge/issues/events{/number}","events_url":"https://api.github.com/repos/DMOJ/judge/events","assignees_url":"https://api.github.com/repos/DMOJ/judge/assignees{/user}","branches_url":"https://api.github.com/repos/DMOJ/judge/branches{/branch}","tags_url":"https://api.github.com/repos/DMOJ/judge/tags","blobs_url":"https://api.github.com/repos/DMOJ/judge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DMOJ/judge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DMOJ/judge/git/refs{/sha}","trees_url":"https://api.github.com/repos/DMOJ/judge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DMOJ/judge/statuses/{sha}","languages_url":"https://api.github.com/repos/DMOJ/judge/languages","stargazers_url":"https://api.github.com/repos/DMOJ/judge/stargazers","contributors_url":"https://api.github.com/repos/DMOJ/judge/contributors","subscribers_url":"https://api.github.com/repos/DMOJ/judge/subscribers","subscription_url":"https://api.github.com/repos/DMOJ/judge/subscription","commits_url":"https://api.github.com/repos/DMOJ/judge/commits{/sha}","git_commits_url":"https://api.github.com/repos/DMOJ/judge/git/commits{/sha}","comments_url":"https://api.github.com/repos/DMOJ/judge/comments{/number}","issue_comment_url":"https://api.github.com/repos/DMOJ/judge/issues/comments{/number}","contents_url":"https://api.github.com/repos/DMOJ/judge/contents/{+path}","compare_url":"https://api.github.com/repos/DMOJ/judge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DMOJ/judge/merges","archive_url":"https://api.github.com/repos/DMOJ/judge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DMOJ/judge/downloads","issues_url":"https://api.github.com/repos/DMOJ/judge/issues{/number}","pulls_url":"https://api.github.com/repos/DMOJ/judge/pulls{/number}","milestones_url":"https://api.github.com/repos/DMOJ/judge/milestones{/number}","notifications_url":"https://api.github.com/repos/DMOJ/judge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DMOJ/judge/labels{/name}","releases_url":"https://api.github.com/repos/DMOJ/judge/releases{/id}","deployments_url":"https://api.github.com/repos/DMOJ/judge/deployments","created_at":"2014-03-14T15:14:10Z","updated_at":"2017-11-12T16:26:13Z","pushed_at":"2017-11-17T05:01:09Z","git_url":"git://github.com/DMOJ/judge.git","ssh_url":"git@github.com:DMOJ/judge.git","clone_url":"https://github.com/DMOJ/judge.git","svn_url":"https://github.com/DMOJ/judge","homepage":"https://dmoj.ca","size":5305,"stargazers_count":180,"watchers_count":180,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"archived":false,"open_issues_count":29,"forks":48,"open_issues":29,"watchers":180,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DMOJ/judge/pulls/275"},"html":{"href":"https://github.com/DMOJ/judge/pull/275"},"issue":{"href":"https://api.github.com/repos/DMOJ/judge/issues/275"},"comments":{"href":"https://api.github.com/repos/DMOJ/judge/issues/275/comments"},"review_comments":{"href":"https://api.github.com/repos/DMOJ/judge/pulls/275/comments"},"review_comment":{"href":"https://api.github.com/repos/DMOJ/judge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DMOJ/judge/pulls/275/commits"},"statuses":{"href":"https://api.github.com/repos/DMOJ/judge/statuses/44e08f4a755fc3c88ead36e0b2c0a74b96dcf42e"}},"author_association":"OWNER"}}
{"actor":{"display_login":"quantum5"}}