{"action":"created","comment":{"url":"https://api.github.com/repos/nijel/python-gammu/pulls/comments/27198811","id":27198811,"diff_hunk":"@@ -449,7 +474,9 @@ StateMachine_SetConfig(StateMachineObject *self, PyObject *args, PyObject *kwds)\n     }\n \n     while (PyDict_Next(dict, &pos, &key, &value)) {\n-        s = PyString_AsString(key);\n+        PyObject *ts = PyUnicode_AsUTF8String(key);","path":"gammu/src/gammu.c","position":37,"original_position":37,"commit_id":"0113d0ad5b424aa4888344a1363222ddef6b146b","original_commit_id":"0113d0ad5b424aa4888344a1363222ddef6b146b","user":{"login":"nijel","id":212189,"avatar_url":"https://avatars.githubusercontent.com/u/212189?v=3","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"body":"This creates new object, you need to deallocate it later (Py_DECREF).","created_at":"2015-03-26T09:45:45Z","updated_at":"2015-03-26T09:45:45Z","html_url":"https://github.com/nijel/python-gammu/pull/2#discussion_r27198811","pull_request_url":"https://api.github.com/repos/nijel/python-gammu/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/nijel/python-gammu/pulls/comments/27198811"},"html":{"href":"https://github.com/nijel/python-gammu/pull/2#discussion_r27198811"},"pull_request":{"href":"https://api.github.com/repos/nijel/python-gammu/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/nijel/python-gammu/pulls/2","id":32001036,"html_url":"https://github.com/nijel/python-gammu/pull/2","diff_url":"https://github.com/nijel/python-gammu/pull/2.diff","patch_url":"https://github.com/nijel/python-gammu/pull/2.patch","issue_url":"https://api.github.com/repos/nijel/python-gammu/issues/2","number":2,"state":"open","locked":false,"title":"enabled all code in gammu.c","user":{"login":"kleinsasserm","id":9364572,"avatar_url":"https://avatars.githubusercontent.com/u/9364572?v=3","gravatar_id":"","url":"https://api.github.com/users/kleinsasserm","html_url":"https://github.com/kleinsasserm","followers_url":"https://api.github.com/users/kleinsasserm/followers","following_url":"https://api.github.com/users/kleinsasserm/following{/other_user}","gists_url":"https://api.github.com/users/kleinsasserm/gists{/gist_id}","starred_url":"https://api.github.com/users/kleinsasserm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kleinsasserm/subscriptions","organizations_url":"https://api.github.com/users/kleinsasserm/orgs","repos_url":"https://api.github.com/users/kleinsasserm/repos","events_url":"https://api.github.com/users/kleinsasserm/events{/privacy}","received_events_url":"https://api.github.com/users/kleinsasserm/received_events","type":"User","site_admin":false},"body":"Hi! Now I've enabled all code in gammu.c -  I've tested it and I'am still able to send sms. Maybe you can have a look at it. Sorry that I commited the setup.py once again....","created_at":"2015-03-26T09:35:21Z","updated_at":"2015-03-26T09:45:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e4b06ef9cd2079c667e3ab1cf88e1c7c4487faa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nijel/python-gammu/pulls/2/commits","review_comments_url":"https://api.github.com/repos/nijel/python-gammu/pulls/2/comments","review_comment_url":"https://api.github.com/repos/nijel/python-gammu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nijel/python-gammu/issues/2/comments","statuses_url":"https://api.github.com/repos/nijel/python-gammu/statuses/0113d0ad5b424aa4888344a1363222ddef6b146b","head":{"label":"kleinsasserm:mod-gammuc","ref":"mod-gammuc","sha":"0113d0ad5b424aa4888344a1363222ddef6b146b","user":{"login":"kleinsasserm","id":9364572,"avatar_url":"https://avatars.githubusercontent.com/u/9364572?v=3","gravatar_id":"","url":"https://api.github.com/users/kleinsasserm","html_url":"https://github.com/kleinsasserm","followers_url":"https://api.github.com/users/kleinsasserm/followers","following_url":"https://api.github.com/users/kleinsasserm/following{/other_user}","gists_url":"https://api.github.com/users/kleinsasserm/gists{/gist_id}","starred_url":"https://api.github.com/users/kleinsasserm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kleinsasserm/subscriptions","organizations_url":"https://api.github.com/users/kleinsasserm/orgs","repos_url":"https://api.github.com/users/kleinsasserm/repos","events_url":"https://api.github.com/users/kleinsasserm/events{/privacy}","received_events_url":"https://api.github.com/users/kleinsasserm/received_events","type":"User","site_admin":false},"repo":{"id":32867804,"name":"python-gammu","full_name":"kleinsasserm/python-gammu","owner":{"login":"kleinsasserm","id":9364572,"avatar_url":"https://avatars.githubusercontent.com/u/9364572?v=3","gravatar_id":"","url":"https://api.github.com/users/kleinsasserm","html_url":"https://github.com/kleinsasserm","followers_url":"https://api.github.com/users/kleinsasserm/followers","following_url":"https://api.github.com/users/kleinsasserm/following{/other_user}","gists_url":"https://api.github.com/users/kleinsasserm/gists{/gist_id}","starred_url":"https://api.github.com/users/kleinsasserm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kleinsasserm/subscriptions","organizations_url":"https://api.github.com/users/kleinsasserm/orgs","repos_url":"https://api.github.com/users/kleinsasserm/repos","events_url":"https://api.github.com/users/kleinsasserm/events{/privacy}","received_events_url":"https://api.github.com/users/kleinsasserm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kleinsasserm/python-gammu","description":"Python bindings for Gammu","fork":true,"url":"https://api.github.com/repos/kleinsasserm/python-gammu","forks_url":"https://api.github.com/repos/kleinsasserm/python-gammu/forks","keys_url":"https://api.github.com/repos/kleinsasserm/python-gammu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kleinsasserm/python-gammu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kleinsasserm/python-gammu/teams","hooks_url":"https://api.github.com/repos/kleinsasserm/python-gammu/hooks","issue_events_url":"https://api.github.com/repos/kleinsasserm/python-gammu/issues/events{/number}","events_url":"https://api.github.com/repos/kleinsasserm/python-gammu/events","assignees_url":"https://api.github.com/repos/kleinsasserm/python-gammu/assignees{/user}","branches_url":"https://api.github.com/repos/kleinsasserm/python-gammu/branches{/branch}","tags_url":"https://api.github.com/repos/kleinsasserm/python-gammu/tags","blobs_url":"https://api.github.com/repos/kleinsasserm/python-gammu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kleinsasserm/python-gammu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kleinsasserm/python-gammu/git/refs{/sha}","trees_url":"https://api.github.com/repos/kleinsasserm/python-gammu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kleinsasserm/python-gammu/statuses/{sha}","languages_url":"https://api.github.com/repos/kleinsasserm/python-gammu/languages","stargazers_url":"https://api.github.com/repos/kleinsasserm/python-gammu/stargazers","contributors_url":"https://api.github.com/repos/kleinsasserm/python-gammu/contributors","subscribers_url":"https://api.github.com/repos/kleinsasserm/python-gammu/subscribers","subscription_url":"https://api.github.com/repos/kleinsasserm/python-gammu/subscription","commits_url":"https://api.github.com/repos/kleinsasserm/python-gammu/commits{/sha}","git_commits_url":"https://api.github.com/repos/kleinsasserm/python-gammu/git/commits{/sha}","comments_url":"https://api.github.com/repos/kleinsasserm/python-gammu/comments{/number}","issue_comment_url":"https://api.github.com/repos/kleinsasserm/python-gammu/issues/comments{/number}","contents_url":"https://api.github.com/repos/kleinsasserm/python-gammu/contents/{+path}","compare_url":"https://api.github.com/repos/kleinsasserm/python-gammu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kleinsasserm/python-gammu/merges","archive_url":"https://api.github.com/repos/kleinsasserm/python-gammu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kleinsasserm/python-gammu/downloads","issues_url":"https://api.github.com/repos/kleinsasserm/python-gammu/issues{/number}","pulls_url":"https://api.github.com/repos/kleinsasserm/python-gammu/pulls{/number}","milestones_url":"https://api.github.com/repos/kleinsasserm/python-gammu/milestones{/number}","notifications_url":"https://api.github.com/repos/kleinsasserm/python-gammu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kleinsasserm/python-gammu/labels{/name}","releases_url":"https://api.github.com/repos/kleinsasserm/python-gammu/releases{/id}","created_at":"2015-03-25T13:57:09Z","updated_at":"2015-03-26T08:51:04Z","pushed_at":"2015-03-26T09:32:56Z","git_url":"git://github.com/kleinsasserm/python-gammu.git","ssh_url":"git@github.com:kleinsasserm/python-gammu.git","clone_url":"https://github.com/kleinsasserm/python-gammu.git","svn_url":"https://github.com/kleinsasserm/python-gammu","homepage":"http://wammu.eu/python-gammu/","size":35541,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nijel:master","ref":"master","sha":"9943667734699122ad5fba261b1c574e128e4461","user":{"login":"nijel","id":212189,"avatar_url":"https://avatars.githubusercontent.com/u/212189?v=3","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"repo":{"id":32400066,"name":"python-gammu","full_name":"nijel/python-gammu","owner":{"login":"nijel","id":212189,"avatar_url":"https://avatars.githubusercontent.com/u/212189?v=3","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nijel/python-gammu","description":"Python bindings for Gammu","fork":false,"url":"https://api.github.com/repos/nijel/python-gammu","forks_url":"https://api.github.com/repos/nijel/python-gammu/forks","keys_url":"https://api.github.com/repos/nijel/python-gammu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nijel/python-gammu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nijel/python-gammu/teams","hooks_url":"https://api.github.com/repos/nijel/python-gammu/hooks","issue_events_url":"https://api.github.com/repos/nijel/python-gammu/issues/events{/number}","events_url":"https://api.github.com/repos/nijel/python-gammu/events","assignees_url":"https://api.github.com/repos/nijel/python-gammu/assignees{/user}","branches_url":"https://api.github.com/repos/nijel/python-gammu/branches{/branch}","tags_url":"https://api.github.com/repos/nijel/python-gammu/tags","blobs_url":"https://api.github.com/repos/nijel/python-gammu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nijel/python-gammu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nijel/python-gammu/git/refs{/sha}","trees_url":"https://api.github.com/repos/nijel/python-gammu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nijel/python-gammu/statuses/{sha}","languages_url":"https://api.github.com/repos/nijel/python-gammu/languages","stargazers_url":"https://api.github.com/repos/nijel/python-gammu/stargazers","contributors_url":"https://api.github.com/repos/nijel/python-gammu/contributors","subscribers_url":"https://api.github.com/repos/nijel/python-gammu/subscribers","subscription_url":"https://api.github.com/repos/nijel/python-gammu/subscription","commits_url":"https://api.github.com/repos/nijel/python-gammu/commits{/sha}","git_commits_url":"https://api.github.com/repos/nijel/python-gammu/git/commits{/sha}","comments_url":"https://api.github.com/repos/nijel/python-gammu/comments{/number}","issue_comment_url":"https://api.github.com/repos/nijel/python-gammu/issues/comments{/number}","contents_url":"https://api.github.com/repos/nijel/python-gammu/contents/{+path}","compare_url":"https://api.github.com/repos/nijel/python-gammu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nijel/python-gammu/merges","archive_url":"https://api.github.com/repos/nijel/python-gammu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nijel/python-gammu/downloads","issues_url":"https://api.github.com/repos/nijel/python-gammu/issues{/number}","pulls_url":"https://api.github.com/repos/nijel/python-gammu/pulls{/number}","milestones_url":"https://api.github.com/repos/nijel/python-gammu/milestones{/number}","notifications_url":"https://api.github.com/repos/nijel/python-gammu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nijel/python-gammu/labels{/name}","releases_url":"https://api.github.com/repos/nijel/python-gammu/releases{/id}","created_at":"2015-03-17T14:58:23Z","updated_at":"2015-03-23T15:25:30Z","pushed_at":"2015-03-26T09:35:21Z","git_url":"git://github.com/nijel/python-gammu.git","ssh_url":"git@github.com:nijel/python-gammu.git","clone_url":"https://github.com/nijel/python-gammu.git","svn_url":"https://github.com/nijel/python-gammu","homepage":"http://wammu.eu/python-gammu/","size":35541,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nijel/python-gammu/pulls/2"},"html":{"href":"https://github.com/nijel/python-gammu/pull/2"},"issue":{"href":"https://api.github.com/repos/nijel/python-gammu/issues/2"},"comments":{"href":"https://api.github.com/repos/nijel/python-gammu/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/nijel/python-gammu/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/nijel/python-gammu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nijel/python-gammu/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/nijel/python-gammu/statuses/0113d0ad5b424aa4888344a1363222ddef6b146b"}}}}