{"action":"reopened","number":11242,"pull_request":{"url":"https://api.github.com/repos/python/cpython/pulls/11242","id":239893947,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5ODkzOTQ3","html_url":"https://github.com/python/cpython/pull/11242","diff_url":"https://github.com/python/cpython/pull/11242.diff","patch_url":"https://github.com/python/cpython/pull/11242.patch","issue_url":"https://api.github.com/repos/python/cpython/issues/11242","number":11242,"state":"open","locked":false,"title":"bpo-35537: use os.posix_spawn in subprocess","user":{"login":"nanjekyejoannah","id":33177550,"node_id":"MDQ6VXNlcjMzMTc3NTUw","avatar_url":"https://avatars3.githubusercontent.com/u/33177550?v=4","gravatar_id":"","url":"https://api.github.com/users/nanjekyejoannah","html_url":"https://github.com/nanjekyejoannah","followers_url":"https://api.github.com/users/nanjekyejoannah/followers","following_url":"https://api.github.com/users/nanjekyejoannah/following{/other_user}","gists_url":"https://api.github.com/users/nanjekyejoannah/gists{/gist_id}","starred_url":"https://api.github.com/users/nanjekyejoannah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanjekyejoannah/subscriptions","organizations_url":"https://api.github.com/users/nanjekyejoannah/orgs","repos_url":"https://api.github.com/users/nanjekyejoannah/repos","events_url":"https://api.github.com/users/nanjekyejoannah/events{/privacy}","received_events_url":"https://api.github.com/users/nanjekyejoannah/received_events","type":"User","site_admin":false},"body":"This patch uses os.posix_spawn in subprocess.\r\n\r\nposix_spawn() is faster but it's also safer: it allows us to do a lot of \"actions\" before exec(), before executing the new program. For example, you can close files and control signals. \r\n\r\n@vstinner this is the patch without any options.\r\n\n\n<!-- issue-number: [bpo-35537](https://bugs.python.org/issue35537) -->\nhttps://bugs.python.org/issue35537\n<!-- /issue-number -->\n","created_at":"2018-12-19T16:17:55Z","updated_at":"2018-12-20T15:38:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f491521bdc28c89970cbb257f460fefd804c1f0","assignee":null,"assignees":[],"requested_reviewers":[{"login":"gpshead","id":68491,"node_id":"MDQ6VXNlcjY4NDkx","avatar_url":"https://avatars2.githubusercontent.com/u/68491?v=4","gravatar_id":"","url":"https://api.github.com/users/gpshead","html_url":"https://github.com/gpshead","followers_url":"https://api.github.com/users/gpshead/followers","following_url":"https://api.github.com/users/gpshead/following{/other_user}","gists_url":"https://api.github.com/users/gpshead/gists{/gist_id}","starred_url":"https://api.github.com/users/gpshead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpshead/subscriptions","organizations_url":"https://api.github.com/users/gpshead/orgs","repos_url":"https://api.github.com/users/gpshead/repos","events_url":"https://api.github.com/users/gpshead/events{/privacy}","received_events_url":"https://api.github.com/users/gpshead/received_events","type":"User","site_admin":false},{"login":"pablogsal","id":11718525,"node_id":"MDQ6VXNlcjExNzE4NTI1","avatar_url":"https://avatars0.githubusercontent.com/u/11718525?v=4","gravatar_id":"","url":"https://api.github.com/users/pablogsal","html_url":"https://github.com/pablogsal","followers_url":"https://api.github.com/users/pablogsal/followers","following_url":"https://api.github.com/users/pablogsal/following{/other_user}","gists_url":"https://api.github.com/users/pablogsal/gists{/gist_id}","starred_url":"https://api.github.com/users/pablogsal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pablogsal/subscriptions","organizations_url":"https://api.github.com/users/pablogsal/orgs","repos_url":"https://api.github.com/users/pablogsal/repos","events_url":"https://api.github.com/users/pablogsal/events{/privacy}","received_events_url":"https://api.github.com/users/pablogsal/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":536945472,"node_id":"MDU6TGFiZWw1MzY5NDU0NzI=","url":"https://api.github.com/repos/python/cpython/labels/CLA%20signed","name":"CLA signed","color":"0e8a16","default":false},{"id":666979922,"node_id":"MDU6TGFiZWw2NjY5Nzk5MjI=","url":"https://api.github.com/repos/python/cpython/labels/awaiting%20changes","name":"awaiting changes","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/python/cpython/pulls/11242/commits","review_comments_url":"https://api.github.com/repos/python/cpython/pulls/11242/comments","review_comment_url":"https://api.github.com/repos/python/cpython/pulls/comments{/number}","comments_url":"https://api.github.com/repos/python/cpython/issues/11242/comments","statuses_url":"https://api.github.com/repos/python/cpython/statuses/e4c53b89498889020f0bbdb271a013233a28734a","head":{"label":"nanjekyejoannah:patch","ref":"patch","sha":"e4c53b89498889020f0bbdb271a013233a28734a","user":{"login":"nanjekyejoannah","id":33177550,"node_id":"MDQ6VXNlcjMzMTc3NTUw","avatar_url":"https://avatars3.githubusercontent.com/u/33177550?v=4","gravatar_id":"","url":"https://api.github.com/users/nanjekyejoannah","html_url":"https://github.com/nanjekyejoannah","followers_url":"https://api.github.com/users/nanjekyejoannah/followers","following_url":"https://api.github.com/users/nanjekyejoannah/following{/other_user}","gists_url":"https://api.github.com/users/nanjekyejoannah/gists{/gist_id}","starred_url":"https://api.github.com/users/nanjekyejoannah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanjekyejoannah/subscriptions","organizations_url":"https://api.github.com/users/nanjekyejoannah/orgs","repos_url":"https://api.github.com/users/nanjekyejoannah/repos","events_url":"https://api.github.com/users/nanjekyejoannah/events{/privacy}","received_events_url":"https://api.github.com/users/nanjekyejoannah/received_events","type":"User","site_admin":false},"repo":{"id":155099277,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUwOTkyNzc=","name":"cpython","full_name":"nanjekyejoannah/cpython","private":false,"owner":{"login":"nanjekyejoannah","id":33177550,"node_id":"MDQ6VXNlcjMzMTc3NTUw","avatar_url":"https://avatars3.githubusercontent.com/u/33177550?v=4","gravatar_id":"","url":"https://api.github.com/users/nanjekyejoannah","html_url":"https://github.com/nanjekyejoannah","followers_url":"https://api.github.com/users/nanjekyejoannah/followers","following_url":"https://api.github.com/users/nanjekyejoannah/following{/other_user}","gists_url":"https://api.github.com/users/nanjekyejoannah/gists{/gist_id}","starred_url":"https://api.github.com/users/nanjekyejoannah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanjekyejoannah/subscriptions","organizations_url":"https://api.github.com/users/nanjekyejoannah/orgs","repos_url":"https://api.github.com/users/nanjekyejoannah/repos","events_url":"https://api.github.com/users/nanjekyejoannah/events{/privacy}","received_events_url":"https://api.github.com/users/nanjekyejoannah/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nanjekyejoannah/cpython","description":"The Python programming language","fork":true,"url":"https://api.github.com/repos/nanjekyejoannah/cpython","forks_url":"https://api.github.com/repos/nanjekyejoannah/cpython/forks","keys_url":"https://api.github.com/repos/nanjekyejoannah/cpython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nanjekyejoannah/cpython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nanjekyejoannah/cpython/teams","hooks_url":"https://api.github.com/repos/nanjekyejoannah/cpython/hooks","issue_events_url":"https://api.github.com/repos/nanjekyejoannah/cpython/issues/events{/number}","events_url":"https://api.github.com/repos/nanjekyejoannah/cpython/events","assignees_url":"https://api.github.com/repos/nanjekyejoannah/cpython/assignees{/user}","branches_url":"https://api.github.com/repos/nanjekyejoannah/cpython/branches{/branch}","tags_url":"https://api.github.com/repos/nanjekyejoannah/cpython/tags","blobs_url":"https://api.github.com/repos/nanjekyejoannah/cpython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nanjekyejoannah/cpython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nanjekyejoannah/cpython/git/refs{/sha}","trees_url":"https://api.github.com/repos/nanjekyejoannah/cpython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nanjekyejoannah/cpython/statuses/{sha}","languages_url":"https://api.github.com/repos/nanjekyejoannah/cpython/languages","stargazers_url":"https://api.github.com/repos/nanjekyejoannah/cpython/stargazers","contributors_url":"https://api.github.com/repos/nanjekyejoannah/cpython/contributors","subscribers_url":"https://api.github.com/repos/nanjekyejoannah/cpython/subscribers","subscription_url":"https://api.github.com/repos/nanjekyejoannah/cpython/subscription","commits_url":"https://api.github.com/repos/nanjekyejoannah/cpython/commits{/sha}","git_commits_url":"https://api.github.com/repos/nanjekyejoannah/cpython/git/commits{/sha}","comments_url":"https://api.github.com/repos/nanjekyejoannah/cpython/comments{/number}","issue_comment_url":"https://api.github.com/repos/nanjekyejoannah/cpython/issues/comments{/number}","contents_url":"https://api.github.com/repos/nanjekyejoannah/cpython/contents/{+path}","compare_url":"https://api.github.com/repos/nanjekyejoannah/cpython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nanjekyejoannah/cpython/merges","archive_url":"https://api.github.com/repos/nanjekyejoannah/cpython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nanjekyejoannah/cpython/downloads","issues_url":"https://api.github.com/repos/nanjekyejoannah/cpython/issues{/number}","pulls_url":"https://api.github.com/repos/nanjekyejoannah/cpython/pulls{/number}","milestones_url":"https://api.github.com/repos/nanjekyejoannah/cpython/milestones{/number}","notifications_url":"https://api.github.com/repos/nanjekyejoannah/cpython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nanjekyejoannah/cpython/labels{/name}","releases_url":"https://api.github.com/repos/nanjekyejoannah/cpython/releases{/id}","deployments_url":"https://api.github.com/repos/nanjekyejoannah/cpython/deployments","created_at":"2018-10-28T17:55:51Z","updated_at":"2018-11-06T17:02:33Z","pushed_at":"2018-12-20T15:33:45Z","git_url":"git://github.com/nanjekyejoannah/cpython.git","ssh_url":"git@github.com:nanjekyejoannah/cpython.git","clone_url":"https://github.com/nanjekyejoannah/cpython.git","svn_url":"https://github.com/nanjekyejoannah/cpython","homepage":"https://www.python.org/","size":259869,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"python:master","ref":"master","sha":"292cd6e33104d9f458232a14998fe5c62f7f7e81","user":{"login":"python","id":1525981,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MjU5ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/1525981?v=4","gravatar_id":"","url":"https://api.github.com/users/python","html_url":"https://github.com/python","followers_url":"https://api.github.com/users/python/followers","following_url":"https://api.github.com/users/python/following{/other_user}","gists_url":"https://api.github.com/users/python/gists{/gist_id}","starred_url":"https://api.github.com/users/python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python/subscriptions","organizations_url":"https://api.github.com/users/python/orgs","repos_url":"https://api.github.com/users/python/repos","events_url":"https://api.github.com/users/python/events{/privacy}","received_events_url":"https://api.github.com/users/python/received_events","type":"Organization","site_admin":false},"repo":{"id":81598961,"node_id":"MDEwOlJlcG9zaXRvcnk4MTU5ODk2MQ==","name":"cpython","full_name":"python/cpython","private":false,"owner":{"login":"python","id":1525981,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MjU5ODE=","avatar_url":"https://avatars3.githubusercontent.com/u/1525981?v=4","gravatar_id":"","url":"https://api.github.com/users/python","html_url":"https://github.com/python","followers_url":"https://api.github.com/users/python/followers","following_url":"https://api.github.com/users/python/following{/other_user}","gists_url":"https://api.github.com/users/python/gists{/gist_id}","starred_url":"https://api.github.com/users/python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python/subscriptions","organizations_url":"https://api.github.com/users/python/orgs","repos_url":"https://api.github.com/users/python/repos","events_url":"https://api.github.com/users/python/events{/privacy}","received_events_url":"https://api.github.com/users/python/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/python/cpython","description":"The Python programming language","fork":false,"url":"https://api.github.com/repos/python/cpython","forks_url":"https://api.github.com/repos/python/cpython/forks","keys_url":"https://api.github.com/repos/python/cpython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/python/cpython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/python/cpython/teams","hooks_url":"https://api.github.com/repos/python/cpython/hooks","issue_events_url":"https://api.github.com/repos/python/cpython/issues/events{/number}","events_url":"https://api.github.com/repos/python/cpython/events","assignees_url":"https://api.github.com/repos/python/cpython/assignees{/user}","branches_url":"https://api.github.com/repos/python/cpython/branches{/branch}","tags_url":"https://api.github.com/repos/python/cpython/tags","blobs_url":"https://api.github.com/repos/python/cpython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/python/cpython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/python/cpython/git/refs{/sha}","trees_url":"https://api.github.com/repos/python/cpython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/python/cpython/statuses/{sha}","languages_url":"https://api.github.com/repos/python/cpython/languages","stargazers_url":"https://api.github.com/repos/python/cpython/stargazers","contributors_url":"https://api.github.com/repos/python/cpython/contributors","subscribers_url":"https://api.github.com/repos/python/cpython/subscribers","subscription_url":"https://api.github.com/repos/python/cpython/subscription","commits_url":"https://api.github.com/repos/python/cpython/commits{/sha}","git_commits_url":"https://api.github.com/repos/python/cpython/git/commits{/sha}","comments_url":"https://api.github.com/repos/python/cpython/comments{/number}","issue_comment_url":"https://api.github.com/repos/python/cpython/issues/comments{/number}","contents_url":"https://api.github.com/repos/python/cpython/contents/{+path}","compare_url":"https://api.github.com/repos/python/cpython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/python/cpython/merges","archive_url":"https://api.github.com/repos/python/cpython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/python/cpython/downloads","issues_url":"https://api.github.com/repos/python/cpython/issues{/number}","pulls_url":"https://api.github.com/repos/python/cpython/pulls{/number}","milestones_url":"https://api.github.com/repos/python/cpython/milestones{/number}","notifications_url":"https://api.github.com/repos/python/cpython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/python/cpython/labels{/name}","releases_url":"https://api.github.com/repos/python/cpython/releases{/id}","deployments_url":"https://api.github.com/repos/python/cpython/deployments","created_at":"2017-02-10T19:23:51Z","updated_at":"2018-12-20T15:15:40Z","pushed_at":"2018-12-20T15:23:14Z","git_url":"git://github.com/python/cpython.git","ssh_url":"git@github.com:python/cpython.git","clone_url":"https://github.com/python/cpython.git","svn_url":"https://github.com/python/cpython","homepage":"https://www.python.org/","size":262561,"stargazers_count":21474,"watchers_count":21474,"language":"Python","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8033,"mirror_url":null,"archived":false,"open_issues_count":972,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":8033,"open_issues":972,"watchers":21474,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/python/cpython/pulls/11242"},"html":{"href":"https://github.com/python/cpython/pull/11242"},"issue":{"href":"https://api.github.com/repos/python/cpython/issues/11242"},"comments":{"href":"https://api.github.com/repos/python/cpython/issues/11242/comments"},"review_comments":{"href":"https://api.github.com/repos/python/cpython/pulls/11242/comments"},"review_comment":{"href":"https://api.github.com/repos/python/cpython/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/python/cpython/pulls/11242/commits"},"statuses":{"href":"https://api.github.com/repos/python/cpython/statuses/e4c53b89498889020f0bbdb271a013233a28734a"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":9,"review_comments":12,"maintainer_can_modify":true,"commits":2,"additions":18,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"nanjekyejoannah"}}