{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/YunOSC/PyFun-Backend/pulls/37","id":221259342,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMjU5MzQy","html_url":"https://github.com/YunOSC/PyFun-Backend/pull/37","diff_url":"https://github.com/YunOSC/PyFun-Backend/pull/37.diff","patch_url":"https://github.com/YunOSC/PyFun-Backend/pull/37.patch","issue_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/issues/37","number":37,"state":"closed","locked":false,"title":"Run user code in same process as the request","user":{"login":"tipabu","id":4432952,"node_id":"MDQ6VXNlcjQ0MzI5NTI=","avatar_url":"https://avatars3.githubusercontent.com/u/4432952?v=4","gravatar_id":"","url":"https://api.github.com/users/tipabu","html_url":"https://github.com/tipabu","followers_url":"https://api.github.com/users/tipabu/followers","following_url":"https://api.github.com/users/tipabu/following{/other_user}","gists_url":"https://api.github.com/users/tipabu/gists{/gist_id}","starred_url":"https://api.github.com/users/tipabu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tipabu/subscriptions","organizations_url":"https://api.github.com/users/tipabu/orgs","repos_url":"https://api.github.com/users/tipabu/repos","events_url":"https://api.github.com/users/tipabu/events{/privacy}","received_events_url":"https://api.github.com/users/tipabu/received_events","type":"User","site_admin":false},"body":"This has a couple advantages:\r\n\r\n- No need for temporary files\r\n- More control over what globals and builtins are available\r\n\r\n### What is this PR?\r\nPlease make yourself a check.\r\n- [ ] Adding new stage or lesson\r\n  - [ ] Have you read [CONTRIBUTING.md](https://github.com/YunOSC/PyFun-Backend/blob/master/.github/CONTRIBUTING.md) yet?\r\n  - [ ] Have you pick a topic?\r\n  - [ ] Are there any unit test has been prepared?\r\n- [ ] Feature\r\n- [X] Refactor\r\n   ","created_at":"2018-10-08T22:25:36Z","updated_at":"2018-10-11T02:19:54Z","closed_at":"2018-10-11T02:19:54Z","merged_at":"2018-10-11T02:19:54Z","merge_commit_sha":"eff2474ba74d0a5e69d03d2765359129d4c4febe","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Sean2525","id":17308188,"node_id":"MDQ6VXNlcjE3MzA4MTg4","avatar_url":"https://avatars2.githubusercontent.com/u/17308188?v=4","gravatar_id":"","url":"https://api.github.com/users/Sean2525","html_url":"https://github.com/Sean2525","followers_url":"https://api.github.com/users/Sean2525/followers","following_url":"https://api.github.com/users/Sean2525/following{/other_user}","gists_url":"https://api.github.com/users/Sean2525/gists{/gist_id}","starred_url":"https://api.github.com/users/Sean2525/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sean2525/subscriptions","organizations_url":"https://api.github.com/users/Sean2525/orgs","repos_url":"https://api.github.com/users/Sean2525/repos","events_url":"https://api.github.com/users/Sean2525/events{/privacy}","received_events_url":"https://api.github.com/users/Sean2525/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/pulls/37/commits","review_comments_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/pulls/37/comments","review_comment_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/issues/37/comments","statuses_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/statuses/68573e1d2c8c4e711d4c23d1e4db9acc87b394e2","head":{"label":"tipabu:no-more-subprocess","ref":"no-more-subprocess","sha":"68573e1d2c8c4e711d4c23d1e4db9acc87b394e2","user":{"login":"tipabu","id":4432952,"node_id":"MDQ6VXNlcjQ0MzI5NTI=","avatar_url":"https://avatars3.githubusercontent.com/u/4432952?v=4","gravatar_id":"","url":"https://api.github.com/users/tipabu","html_url":"https://github.com/tipabu","followers_url":"https://api.github.com/users/tipabu/followers","following_url":"https://api.github.com/users/tipabu/following{/other_user}","gists_url":"https://api.github.com/users/tipabu/gists{/gist_id}","starred_url":"https://api.github.com/users/tipabu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tipabu/subscriptions","organizations_url":"https://api.github.com/users/tipabu/orgs","repos_url":"https://api.github.com/users/tipabu/repos","events_url":"https://api.github.com/users/tipabu/events{/privacy}","received_events_url":"https://api.github.com/users/tipabu/received_events","type":"User","site_admin":false},"repo":{"id":151764985,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE3NjQ5ODU=","name":"PyFun-Backend","full_name":"tipabu/PyFun-Backend","private":false,"owner":{"login":"tipabu","id":4432952,"node_id":"MDQ6VXNlcjQ0MzI5NTI=","avatar_url":"https://avatars3.githubusercontent.com/u/4432952?v=4","gravatar_id":"","url":"https://api.github.com/users/tipabu","html_url":"https://github.com/tipabu","followers_url":"https://api.github.com/users/tipabu/followers","following_url":"https://api.github.com/users/tipabu/following{/other_user}","gists_url":"https://api.github.com/users/tipabu/gists{/gist_id}","starred_url":"https://api.github.com/users/tipabu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tipabu/subscriptions","organizations_url":"https://api.github.com/users/tipabu/orgs","repos_url":"https://api.github.com/users/tipabu/repos","events_url":"https://api.github.com/users/tipabu/events{/privacy}","received_events_url":"https://api.github.com/users/tipabu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/tipabu/PyFun-Backend","description":"A Python learning platform needs more example in it!","fork":true,"url":"https://api.github.com/repos/tipabu/PyFun-Backend","forks_url":"https://api.github.com/repos/tipabu/PyFun-Backend/forks","keys_url":"https://api.github.com/repos/tipabu/PyFun-Backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tipabu/PyFun-Backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tipabu/PyFun-Backend/teams","hooks_url":"https://api.github.com/repos/tipabu/PyFun-Backend/hooks","issue_events_url":"https://api.github.com/repos/tipabu/PyFun-Backend/issues/events{/number}","events_url":"https://api.github.com/repos/tipabu/PyFun-Backend/events","assignees_url":"https://api.github.com/repos/tipabu/PyFun-Backend/assignees{/user}","branches_url":"https://api.github.com/repos/tipabu/PyFun-Backend/branches{/branch}","tags_url":"https://api.github.com/repos/tipabu/PyFun-Backend/tags","blobs_url":"https://api.github.com/repos/tipabu/PyFun-Backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tipabu/PyFun-Backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tipabu/PyFun-Backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/tipabu/PyFun-Backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tipabu/PyFun-Backend/statuses/{sha}","languages_url":"https://api.github.com/repos/tipabu/PyFun-Backend/languages","stargazers_url":"https://api.github.com/repos/tipabu/PyFun-Backend/stargazers","contributors_url":"https://api.github.com/repos/tipabu/PyFun-Backend/contributors","subscribers_url":"https://api.github.com/repos/tipabu/PyFun-Backend/subscribers","subscription_url":"https://api.github.com/repos/tipabu/PyFun-Backend/subscription","commits_url":"https://api.github.com/repos/tipabu/PyFun-Backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/tipabu/PyFun-Backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/tipabu/PyFun-Backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/tipabu/PyFun-Backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/tipabu/PyFun-Backend/contents/{+path}","compare_url":"https://api.github.com/repos/tipabu/PyFun-Backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tipabu/PyFun-Backend/merges","archive_url":"https://api.github.com/repos/tipabu/PyFun-Backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tipabu/PyFun-Backend/downloads","issues_url":"https://api.github.com/repos/tipabu/PyFun-Backend/issues{/number}","pulls_url":"https://api.github.com/repos/tipabu/PyFun-Backend/pulls{/number}","milestones_url":"https://api.github.com/repos/tipabu/PyFun-Backend/milestones{/number}","notifications_url":"https://api.github.com/repos/tipabu/PyFun-Backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tipabu/PyFun-Backend/labels{/name}","releases_url":"https://api.github.com/repos/tipabu/PyFun-Backend/releases{/id}","deployments_url":"https://api.github.com/repos/tipabu/PyFun-Backend/deployments","created_at":"2018-10-05T18:53:54Z","updated_at":"2018-10-05T18:53:56Z","pushed_at":"2018-10-11T02:00:38Z","git_url":"git://github.com/tipabu/PyFun-Backend.git","ssh_url":"git@github.com:tipabu/PyFun-Backend.git","clone_url":"https://github.com/tipabu/PyFun-Backend.git","svn_url":"https://github.com/tipabu/PyFun-Backend","homepage":"https://yunosc.github.io/PyFun-Frontend/#/","size":64,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"YunOSC:master","ref":"master","sha":"e77e7b4e0df499765ee36bc69c5b444315d117ae","user":{"login":"YunOSC","id":26453014,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NDUzMDE0","avatar_url":"https://avatars3.githubusercontent.com/u/26453014?v=4","gravatar_id":"","url":"https://api.github.com/users/YunOSC","html_url":"https://github.com/YunOSC","followers_url":"https://api.github.com/users/YunOSC/followers","following_url":"https://api.github.com/users/YunOSC/following{/other_user}","gists_url":"https://api.github.com/users/YunOSC/gists{/gist_id}","starred_url":"https://api.github.com/users/YunOSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YunOSC/subscriptions","organizations_url":"https://api.github.com/users/YunOSC/orgs","repos_url":"https://api.github.com/users/YunOSC/repos","events_url":"https://api.github.com/users/YunOSC/events{/privacy}","received_events_url":"https://api.github.com/users/YunOSC/received_events","type":"Organization","site_admin":false},"repo":{"id":151283386,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEyODMzODY=","name":"PyFun-Backend","full_name":"YunOSC/PyFun-Backend","private":false,"owner":{"login":"YunOSC","id":26453014,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NDUzMDE0","avatar_url":"https://avatars3.githubusercontent.com/u/26453014?v=4","gravatar_id":"","url":"https://api.github.com/users/YunOSC","html_url":"https://github.com/YunOSC","followers_url":"https://api.github.com/users/YunOSC/followers","following_url":"https://api.github.com/users/YunOSC/following{/other_user}","gists_url":"https://api.github.com/users/YunOSC/gists{/gist_id}","starred_url":"https://api.github.com/users/YunOSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YunOSC/subscriptions","organizations_url":"https://api.github.com/users/YunOSC/orgs","repos_url":"https://api.github.com/users/YunOSC/repos","events_url":"https://api.github.com/users/YunOSC/events{/privacy}","received_events_url":"https://api.github.com/users/YunOSC/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/YunOSC/PyFun-Backend","description":"A Python learning platform needs more example in it!","fork":false,"url":"https://api.github.com/repos/YunOSC/PyFun-Backend","forks_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/forks","keys_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/teams","hooks_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/hooks","issue_events_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/issues/events{/number}","events_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/events","assignees_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/assignees{/user}","branches_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/branches{/branch}","tags_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/tags","blobs_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/statuses/{sha}","languages_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/languages","stargazers_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/stargazers","contributors_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/contributors","subscribers_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/subscribers","subscription_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/subscription","commits_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/contents/{+path}","compare_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/merges","archive_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/downloads","issues_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/issues{/number}","pulls_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/pulls{/number}","milestones_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/milestones{/number}","notifications_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/labels{/name}","releases_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/releases{/id}","deployments_url":"https://api.github.com/repos/YunOSC/PyFun-Backend/deployments","created_at":"2018-10-02T16:05:28Z","updated_at":"2018-10-10T17:06:05Z","pushed_at":"2018-10-11T02:19:54Z","git_url":"git://github.com/YunOSC/PyFun-Backend.git","ssh_url":"git@github.com:YunOSC/PyFun-Backend.git","clone_url":"https://github.com/YunOSC/PyFun-Backend.git","svn_url":"https://github.com/YunOSC/PyFun-Backend","homepage":"https://yunosc.github.io/PyFun-Frontend/#/","size":69,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":22,"open_issues":11,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/YunOSC/PyFun-Backend/pulls/37"},"html":{"href":"https://github.com/YunOSC/PyFun-Backend/pull/37"},"issue":{"href":"https://api.github.com/repos/YunOSC/PyFun-Backend/issues/37"},"comments":{"href":"https://api.github.com/repos/YunOSC/PyFun-Backend/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/YunOSC/PyFun-Backend/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/YunOSC/PyFun-Backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/YunOSC/PyFun-Backend/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/YunOSC/PyFun-Backend/statuses/68573e1d2c8c4e711d4c23d1e4db9acc87b394e2"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"jackey8616","id":12930377,"node_id":"MDQ6VXNlcjEyOTMwMzc3","avatar_url":"https://avatars0.githubusercontent.com/u/12930377?v=4","gravatar_id":"","url":"https://api.github.com/users/jackey8616","html_url":"https://github.com/jackey8616","followers_url":"https://api.github.com/users/jackey8616/followers","following_url":"https://api.github.com/users/jackey8616/following{/other_user}","gists_url":"https://api.github.com/users/jackey8616/gists{/gist_id}","starred_url":"https://api.github.com/users/jackey8616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackey8616/subscriptions","organizations_url":"https://api.github.com/users/jackey8616/orgs","repos_url":"https://api.github.com/users/jackey8616/repos","events_url":"https://api.github.com/users/jackey8616/events{/privacy}","received_events_url":"https://api.github.com/users/jackey8616/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":40,"deletions":58,"changed_files":6}}
{"actor":{"display_login":"jackey8616"}}