{"action":"created","comment":{"url":"https://api.github.com/repos/Ed-von-Schleck/shoco/pulls/comments/86672832","pull_request_review_id":7321352,"id":86672832,"diff_hunk":"@@ -0,0 +1,11 @@\n+from distutils.core import setup, Extension\n+import os\n+\n+if os.name == 'posix':\n+    cflags = ['-std=c99']\n+else:\n+    cflags = None\n+\n+pyshoco = Extension('pyshoco', sources = ['pyshoco.c', 'shoco.c'], include_dirs = ['.'], extra_compile_args = cflags)","path":"setup.py","position":9,"original_position":9,"commit_id":"09fe6339bad04ddc4f2908fcd99c16f9b1b72ac0","original_commit_id":"09fe6339bad04ddc4f2908fcd99c16f9b1b72ac0","user":{"login":"charmander","id":1889843,"avatar_url":"https://avatars.githubusercontent.com/u/1889843?v=3","gravatar_id":"","url":"https://api.github.com/users/charmander","html_url":"https://github.com/charmander","followers_url":"https://api.github.com/users/charmander/followers","following_url":"https://api.github.com/users/charmander/following{/other_user}","gists_url":"https://api.github.com/users/charmander/gists{/gist_id}","starred_url":"https://api.github.com/users/charmander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charmander/subscriptions","organizations_url":"https://api.github.com/users/charmander/orgs","repos_url":"https://api.github.com/users/charmander/repos","events_url":"https://api.github.com/users/charmander/events{/privacy}","received_events_url":"https://api.github.com/users/charmander/received_events","type":"User","site_admin":false},"body":"The typical Python style is not to put spaces around `=` used for named arguments. You can also put the arguments on separate lines in both of these calls.","created_at":"2016-11-05T20:39:11Z","updated_at":"2016-11-05T20:39:11Z","html_url":"https://github.com/Ed-von-Schleck/shoco/pull/21#discussion_r86672832","pull_request_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/Ed-von-Schleck/shoco/pulls/comments/86672832"},"html":{"href":"https://github.com/Ed-von-Schleck/shoco/pull/21#discussion_r86672832"},"pull_request":{"href":"https://api.github.com/repos/Ed-von-Schleck/shoco/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/Ed-von-Schleck/shoco/pulls/21","id":56845001,"html_url":"https://github.com/Ed-von-Schleck/shoco/pull/21","diff_url":"https://github.com/Ed-von-Schleck/shoco/pull/21.diff","patch_url":"https://github.com/Ed-von-Schleck/shoco/pull/21.patch","issue_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/issues/21","number":21,"state":"open","locked":false,"title":"add python extension module","user":{"login":"Mego","id":853264,"avatar_url":"https://avatars.githubusercontent.com/u/853264?v=3","gravatar_id":"","url":"https://api.github.com/users/Mego","html_url":"https://github.com/Mego","followers_url":"https://api.github.com/users/Mego/followers","following_url":"https://api.github.com/users/Mego/following{/other_user}","gists_url":"https://api.github.com/users/Mego/gists{/gist_id}","starred_url":"https://api.github.com/users/Mego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mego/subscriptions","organizations_url":"https://api.github.com/users/Mego/orgs","repos_url":"https://api.github.com/users/Mego/repos","events_url":"https://api.github.com/users/Mego/events{/privacy}","received_events_url":"https://api.github.com/users/Mego/received_events","type":"User","site_admin":false},"body":"This commit adds a Python extension module, using Python C API. It allows the creation of a module named `pyshoco`, which contains wrapper methods for `shoco_compress` and `shoco_decompress`.\n","created_at":"2016-01-22T04:14:29Z","updated_at":"2016-11-05T20:39:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a504b3d231bb84c6414595c2df275e2d723f785a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/pulls/21/commits","review_comments_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/pulls/21/comments","review_comment_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/issues/21/comments","statuses_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/statuses/09fe6339bad04ddc4f2908fcd99c16f9b1b72ac0","head":{"label":"Mego:master","ref":"master","sha":"09fe6339bad04ddc4f2908fcd99c16f9b1b72ac0","user":{"login":"Mego","id":853264,"avatar_url":"https://avatars.githubusercontent.com/u/853264?v=3","gravatar_id":"","url":"https://api.github.com/users/Mego","html_url":"https://github.com/Mego","followers_url":"https://api.github.com/users/Mego/followers","following_url":"https://api.github.com/users/Mego/following{/other_user}","gists_url":"https://api.github.com/users/Mego/gists{/gist_id}","starred_url":"https://api.github.com/users/Mego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mego/subscriptions","organizations_url":"https://api.github.com/users/Mego/orgs","repos_url":"https://api.github.com/users/Mego/repos","events_url":"https://api.github.com/users/Mego/events{/privacy}","received_events_url":"https://api.github.com/users/Mego/received_events","type":"User","site_admin":false},"repo":{"id":50156855,"name":"shoco","full_name":"Mego/shoco","owner":{"login":"Mego","id":853264,"avatar_url":"https://avatars.githubusercontent.com/u/853264?v=3","gravatar_id":"","url":"https://api.github.com/users/Mego","html_url":"https://github.com/Mego","followers_url":"https://api.github.com/users/Mego/followers","following_url":"https://api.github.com/users/Mego/following{/other_user}","gists_url":"https://api.github.com/users/Mego/gists{/gist_id}","starred_url":"https://api.github.com/users/Mego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mego/subscriptions","organizations_url":"https://api.github.com/users/Mego/orgs","repos_url":"https://api.github.com/users/Mego/repos","events_url":"https://api.github.com/users/Mego/events{/privacy}","received_events_url":"https://api.github.com/users/Mego/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mego/shoco","description":"shoco is a compressor for small text strings","fork":true,"url":"https://api.github.com/repos/Mego/shoco","forks_url":"https://api.github.com/repos/Mego/shoco/forks","keys_url":"https://api.github.com/repos/Mego/shoco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mego/shoco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mego/shoco/teams","hooks_url":"https://api.github.com/repos/Mego/shoco/hooks","issue_events_url":"https://api.github.com/repos/Mego/shoco/issues/events{/number}","events_url":"https://api.github.com/repos/Mego/shoco/events","assignees_url":"https://api.github.com/repos/Mego/shoco/assignees{/user}","branches_url":"https://api.github.com/repos/Mego/shoco/branches{/branch}","tags_url":"https://api.github.com/repos/Mego/shoco/tags","blobs_url":"https://api.github.com/repos/Mego/shoco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mego/shoco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mego/shoco/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mego/shoco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mego/shoco/statuses/{sha}","languages_url":"https://api.github.com/repos/Mego/shoco/languages","stargazers_url":"https://api.github.com/repos/Mego/shoco/stargazers","contributors_url":"https://api.github.com/repos/Mego/shoco/contributors","subscribers_url":"https://api.github.com/repos/Mego/shoco/subscribers","subscription_url":"https://api.github.com/repos/Mego/shoco/subscription","commits_url":"https://api.github.com/repos/Mego/shoco/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mego/shoco/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mego/shoco/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mego/shoco/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mego/shoco/contents/{+path}","compare_url":"https://api.github.com/repos/Mego/shoco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mego/shoco/merges","archive_url":"https://api.github.com/repos/Mego/shoco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mego/shoco/downloads","issues_url":"https://api.github.com/repos/Mego/shoco/issues{/number}","pulls_url":"https://api.github.com/repos/Mego/shoco/pulls{/number}","milestones_url":"https://api.github.com/repos/Mego/shoco/milestones{/number}","notifications_url":"https://api.github.com/repos/Mego/shoco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mego/shoco/labels{/name}","releases_url":"https://api.github.com/repos/Mego/shoco/releases{/id}","deployments_url":"https://api.github.com/repos/Mego/shoco/deployments","created_at":"2016-01-22T04:08:23Z","updated_at":"2016-11-04T11:52:05Z","pushed_at":"2016-11-04T11:52:03Z","git_url":"git://github.com/Mego/shoco.git","ssh_url":"git@github.com:Mego/shoco.git","clone_url":"https://github.com/Mego/shoco.git","svn_url":"https://github.com/Mego/shoco","homepage":"http://ed-von-schleck.github.io/shoco/","size":2859,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"Ed-von-Schleck:master","ref":"master","sha":"4dee0fc850cdec2bdb911093fe0a6a56e3623b71","user":{"login":"Ed-von-Schleck","id":210562,"avatar_url":"https://avatars.githubusercontent.com/u/210562?v=3","gravatar_id":"","url":"https://api.github.com/users/Ed-von-Schleck","html_url":"https://github.com/Ed-von-Schleck","followers_url":"https://api.github.com/users/Ed-von-Schleck/followers","following_url":"https://api.github.com/users/Ed-von-Schleck/following{/other_user}","gists_url":"https://api.github.com/users/Ed-von-Schleck/gists{/gist_id}","starred_url":"https://api.github.com/users/Ed-von-Schleck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ed-von-Schleck/subscriptions","organizations_url":"https://api.github.com/users/Ed-von-Schleck/orgs","repos_url":"https://api.github.com/users/Ed-von-Schleck/repos","events_url":"https://api.github.com/users/Ed-von-Schleck/events{/privacy}","received_events_url":"https://api.github.com/users/Ed-von-Schleck/received_events","type":"User","site_admin":false},"repo":{"id":18843548,"name":"shoco","full_name":"Ed-von-Schleck/shoco","owner":{"login":"Ed-von-Schleck","id":210562,"avatar_url":"https://avatars.githubusercontent.com/u/210562?v=3","gravatar_id":"","url":"https://api.github.com/users/Ed-von-Schleck","html_url":"https://github.com/Ed-von-Schleck","followers_url":"https://api.github.com/users/Ed-von-Schleck/followers","following_url":"https://api.github.com/users/Ed-von-Schleck/following{/other_user}","gists_url":"https://api.github.com/users/Ed-von-Schleck/gists{/gist_id}","starred_url":"https://api.github.com/users/Ed-von-Schleck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ed-von-Schleck/subscriptions","organizations_url":"https://api.github.com/users/Ed-von-Schleck/orgs","repos_url":"https://api.github.com/users/Ed-von-Schleck/repos","events_url":"https://api.github.com/users/Ed-von-Schleck/events{/privacy}","received_events_url":"https://api.github.com/users/Ed-von-Schleck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ed-von-Schleck/shoco","description":"shoco is a compressor for small text strings","fork":false,"url":"https://api.github.com/repos/Ed-von-Schleck/shoco","forks_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/forks","keys_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/teams","hooks_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/hooks","issue_events_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/issues/events{/number}","events_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/events","assignees_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/assignees{/user}","branches_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/branches{/branch}","tags_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/tags","blobs_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/statuses/{sha}","languages_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/languages","stargazers_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/stargazers","contributors_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/contributors","subscribers_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/subscribers","subscription_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/subscription","commits_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/contents/{+path}","compare_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/merges","archive_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/downloads","issues_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/issues{/number}","pulls_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/pulls{/number}","milestones_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/milestones{/number}","notifications_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/labels{/name}","releases_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/releases{/id}","deployments_url":"https://api.github.com/repos/Ed-von-Schleck/shoco/deployments","created_at":"2014-04-16T14:53:46Z","updated_at":"2016-10-20T08:09:43Z","pushed_at":"2016-11-04T11:52:04Z","git_url":"git://github.com/Ed-von-Schleck/shoco.git","ssh_url":"git@github.com:Ed-von-Schleck/shoco.git","clone_url":"https://github.com/Ed-von-Schleck/shoco.git","svn_url":"https://github.com/Ed-von-Schleck/shoco","homepage":"http://ed-von-schleck.github.io/shoco/","size":2892,"stargazers_count":128,"watchers_count":128,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":23,"mirror_url":null,"open_issues_count":15,"forks":23,"open_issues":15,"watchers":128,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ed-von-Schleck/shoco/pulls/21"},"html":{"href":"https://github.com/Ed-von-Schleck/shoco/pull/21"},"issue":{"href":"https://api.github.com/repos/Ed-von-Schleck/shoco/issues/21"},"comments":{"href":"https://api.github.com/repos/Ed-von-Schleck/shoco/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/Ed-von-Schleck/shoco/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/Ed-von-Schleck/shoco/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ed-von-Schleck/shoco/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/Ed-von-Schleck/shoco/statuses/09fe6339bad04ddc4f2908fcd99c16f9b1b72ac0"}}}}
{"actor":{"display_login":"charmander"}}