{"action":"opened","number":43,"pull_request":{"url":"https://api.github.com/repos/DataDog/omnibus-software/pulls/43","id":62264428,"html_url":"https://github.com/DataDog/omnibus-software/pull/43","diff_url":"https://github.com/DataDog/omnibus-software/pull/43.diff","patch_url":"https://github.com/DataDog/omnibus-software/pull/43.patch","issue_url":"https://api.github.com/repos/DataDog/omnibus-software/issues/43","number":43,"state":"open","locked":false,"title":"[python] Patch ctypes to avoid import failure on SELinux","user":{"login":"olivielpeau","id":4912500,"avatar_url":"https://avatars.githubusercontent.com/u/4912500?v=3","gravatar_id":"","url":"https://api.github.com/users/olivielpeau","html_url":"https://github.com/olivielpeau","followers_url":"https://api.github.com/users/olivielpeau/followers","following_url":"https://api.github.com/users/olivielpeau/following{/other_user}","gists_url":"https://api.github.com/users/olivielpeau/gists{/gist_id}","starred_url":"https://api.github.com/users/olivielpeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivielpeau/subscriptions","organizations_url":"https://api.github.com/users/olivielpeau/orgs","repos_url":"https://api.github.com/users/olivielpeau/repos","events_url":"https://api.github.com/users/olivielpeau/events{/privacy}","received_events_url":"https://api.github.com/users/olivielpeau/received_events","type":"User","site_admin":false},"body":"On SELinux-enabled environments, an import of the `ctypes` module\r\nraises a `MemoryError` and a subsequent segfault. To avoid this we\r\nremove the faulty line that seem to have been there only for windows\r\n64 bit.\r\n\r\nA similar patch is present on some packaged Python versions provided\r\non some distros, see for instance on the Fedora python 2.7.3-4 pkg:\r\nhttps://lists.fedoraproject.org/pipermail/scm-commits/2012-April/772613.html\r\n\r\nShould fix https://github.com/DataDog/dd-agent/issues/2327","created_at":"2016-03-09T17:23:53Z","updated_at":"2016-03-09T17:23:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DataDog/omnibus-software/pulls/43/commits","review_comments_url":"https://api.github.com/repos/DataDog/omnibus-software/pulls/43/comments","review_comment_url":"https://api.github.com/repos/DataDog/omnibus-software/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DataDog/omnibus-software/issues/43/comments","statuses_url":"https://api.github.com/repos/DataDog/omnibus-software/statuses/6f567959d6869f5811436bbc6b8751078915a32e","head":{"label":"DataDog:olivielpeau/patch-python-selinux","ref":"olivielpeau/patch-python-selinux","sha":"6f567959d6869f5811436bbc6b8751078915a32e","user":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"repo":{"id":18801276,"name":"omnibus-software","full_name":"DataDog/omnibus-software","owner":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataDog/omnibus-software","description":"Open Source Software for use in Omnibus built packages","fork":true,"url":"https://api.github.com/repos/DataDog/omnibus-software","forks_url":"https://api.github.com/repos/DataDog/omnibus-software/forks","keys_url":"https://api.github.com/repos/DataDog/omnibus-software/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataDog/omnibus-software/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataDog/omnibus-software/teams","hooks_url":"https://api.github.com/repos/DataDog/omnibus-software/hooks","issue_events_url":"https://api.github.com/repos/DataDog/omnibus-software/issues/events{/number}","events_url":"https://api.github.com/repos/DataDog/omnibus-software/events","assignees_url":"https://api.github.com/repos/DataDog/omnibus-software/assignees{/user}","branches_url":"https://api.github.com/repos/DataDog/omnibus-software/branches{/branch}","tags_url":"https://api.github.com/repos/DataDog/omnibus-software/tags","blobs_url":"https://api.github.com/repos/DataDog/omnibus-software/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataDog/omnibus-software/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataDog/omnibus-software/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataDog/omnibus-software/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataDog/omnibus-software/statuses/{sha}","languages_url":"https://api.github.com/repos/DataDog/omnibus-software/languages","stargazers_url":"https://api.github.com/repos/DataDog/omnibus-software/stargazers","contributors_url":"https://api.github.com/repos/DataDog/omnibus-software/contributors","subscribers_url":"https://api.github.com/repos/DataDog/omnibus-software/subscribers","subscription_url":"https://api.github.com/repos/DataDog/omnibus-software/subscription","commits_url":"https://api.github.com/repos/DataDog/omnibus-software/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataDog/omnibus-software/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataDog/omnibus-software/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataDog/omnibus-software/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataDog/omnibus-software/contents/{+path}","compare_url":"https://api.github.com/repos/DataDog/omnibus-software/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataDog/omnibus-software/merges","archive_url":"https://api.github.com/repos/DataDog/omnibus-software/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataDog/omnibus-software/downloads","issues_url":"https://api.github.com/repos/DataDog/omnibus-software/issues{/number}","pulls_url":"https://api.github.com/repos/DataDog/omnibus-software/pulls{/number}","milestones_url":"https://api.github.com/repos/DataDog/omnibus-software/milestones{/number}","notifications_url":"https://api.github.com/repos/DataDog/omnibus-software/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataDog/omnibus-software/labels{/name}","releases_url":"https://api.github.com/repos/DataDog/omnibus-software/releases{/id}","deployments_url":"https://api.github.com/repos/DataDog/omnibus-software/deployments","created_at":"2014-04-15T13:38:01Z","updated_at":"2016-01-11T16:49:51Z","pushed_at":"2016-03-09T17:01:45Z","git_url":"git://github.com/DataDog/omnibus-software.git","ssh_url":"git@github.com:DataDog/omnibus-software.git","clone_url":"https://github.com/DataDog/omnibus-software.git","svn_url":"https://github.com/DataDog/omnibus-software","homepage":"","size":1235,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"DataDog:master","ref":"master","sha":"374fb61e277cafd3fd7af427dccbcd1f7f2a4c34","user":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"repo":{"id":18801276,"name":"omnibus-software","full_name":"DataDog/omnibus-software","owner":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataDog/omnibus-software","description":"Open Source Software for use in Omnibus built packages","fork":true,"url":"https://api.github.com/repos/DataDog/omnibus-software","forks_url":"https://api.github.com/repos/DataDog/omnibus-software/forks","keys_url":"https://api.github.com/repos/DataDog/omnibus-software/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataDog/omnibus-software/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataDog/omnibus-software/teams","hooks_url":"https://api.github.com/repos/DataDog/omnibus-software/hooks","issue_events_url":"https://api.github.com/repos/DataDog/omnibus-software/issues/events{/number}","events_url":"https://api.github.com/repos/DataDog/omnibus-software/events","assignees_url":"https://api.github.com/repos/DataDog/omnibus-software/assignees{/user}","branches_url":"https://api.github.com/repos/DataDog/omnibus-software/branches{/branch}","tags_url":"https://api.github.com/repos/DataDog/omnibus-software/tags","blobs_url":"https://api.github.com/repos/DataDog/omnibus-software/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataDog/omnibus-software/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataDog/omnibus-software/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataDog/omnibus-software/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataDog/omnibus-software/statuses/{sha}","languages_url":"https://api.github.com/repos/DataDog/omnibus-software/languages","stargazers_url":"https://api.github.com/repos/DataDog/omnibus-software/stargazers","contributors_url":"https://api.github.com/repos/DataDog/omnibus-software/contributors","subscribers_url":"https://api.github.com/repos/DataDog/omnibus-software/subscribers","subscription_url":"https://api.github.com/repos/DataDog/omnibus-software/subscription","commits_url":"https://api.github.com/repos/DataDog/omnibus-software/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataDog/omnibus-software/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataDog/omnibus-software/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataDog/omnibus-software/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataDog/omnibus-software/contents/{+path}","compare_url":"https://api.github.com/repos/DataDog/omnibus-software/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataDog/omnibus-software/merges","archive_url":"https://api.github.com/repos/DataDog/omnibus-software/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataDog/omnibus-software/downloads","issues_url":"https://api.github.com/repos/DataDog/omnibus-software/issues{/number}","pulls_url":"https://api.github.com/repos/DataDog/omnibus-software/pulls{/number}","milestones_url":"https://api.github.com/repos/DataDog/omnibus-software/milestones{/number}","notifications_url":"https://api.github.com/repos/DataDog/omnibus-software/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataDog/omnibus-software/labels{/name}","releases_url":"https://api.github.com/repos/DataDog/omnibus-software/releases{/id}","deployments_url":"https://api.github.com/repos/DataDog/omnibus-software/deployments","created_at":"2014-04-15T13:38:01Z","updated_at":"2016-01-11T16:49:51Z","pushed_at":"2016-03-09T17:01:45Z","git_url":"git://github.com/DataDog/omnibus-software.git","ssh_url":"git@github.com:DataDog/omnibus-software.git","clone_url":"https://github.com/DataDog/omnibus-software.git","svn_url":"https://github.com/DataDog/omnibus-software","homepage":"","size":1235,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DataDog/omnibus-software/pulls/43"},"html":{"href":"https://github.com/DataDog/omnibus-software/pull/43"},"issue":{"href":"https://api.github.com/repos/DataDog/omnibus-software/issues/43"},"comments":{"href":"https://api.github.com/repos/DataDog/omnibus-software/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/DataDog/omnibus-software/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/DataDog/omnibus-software/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DataDog/omnibus-software/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/DataDog/omnibus-software/statuses/6f567959d6869f5811436bbc6b8751078915a32e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":0,"changed_files":2}}