{"action":"created","issue":{"url":"https://api.github.com/repos/rougier/freetype-py/issues/41","repository_url":"https://api.github.com/repos/rougier/freetype-py","labels_url":"https://api.github.com/repos/rougier/freetype-py/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/rougier/freetype-py/issues/41/comments","events_url":"https://api.github.com/repos/rougier/freetype-py/issues/41/events","html_url":"https://github.com/rougier/freetype-py/issues/41","id":187550945,"number":41,"title":"Suggestion: Add more pythonic way to get all character codes","user":{"login":"jiong3","id":2176196,"avatar_url":"https://avatars.githubusercontent.com/u/2176196?v=3","gravatar_id":"","url":"https://api.github.com/users/jiong3","html_url":"https://github.com/jiong3","followers_url":"https://api.github.com/users/jiong3/followers","following_url":"https://api.github.com/users/jiong3/following{/other_user}","gists_url":"https://api.github.com/users/jiong3/gists{/gist_id}","starred_url":"https://api.github.com/users/jiong3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiong3/subscriptions","organizations_url":"https://api.github.com/users/jiong3/orgs","repos_url":"https://api.github.com/users/jiong3/repos","events_url":"https://api.github.com/users/jiong3/events{/privacy}","received_events_url":"https://api.github.com/users/jiong3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-06T09:32:35Z","updated_at":"2016-11-06T11:11:18Z","closed_at":null,"body":"Hi,\r\n\r\nthanks for the library, very useful! I use it to get a list of all the supported codepoints in a font and it was not immediatly clear to me how to do it. I think a generator might be more pythonic:\r\n\r\n```\r\ndef get_chars(self):\r\n    charcode, agindex = self.get_first_char()\r\n    yield (charcode, agindex)\r\n\r\n    while agindex != 0:\r\n        charcode, agindex = self.get_next_char(charcode, 0)\r\n        yield (charcode, agindex)\r\n```"},"comment":{"url":"https://api.github.com/repos/rougier/freetype-py/issues/comments/258674115","html_url":"https://github.com/rougier/freetype-py/issues/41#issuecomment-258674115","issue_url":"https://api.github.com/repos/rougier/freetype-py/issues/41","id":258674115,"user":{"login":"rougier","id":327203,"avatar_url":"https://avatars.githubusercontent.com/u/327203?v=3","gravatar_id":"","url":"https://api.github.com/users/rougier","html_url":"https://github.com/rougier","followers_url":"https://api.github.com/users/rougier/followers","following_url":"https://api.github.com/users/rougier/following{/other_user}","gists_url":"https://api.github.com/users/rougier/gists{/gist_id}","starred_url":"https://api.github.com/users/rougier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rougier/subscriptions","organizations_url":"https://api.github.com/users/rougier/orgs","repos_url":"https://api.github.com/users/rougier/repos","events_url":"https://api.github.com/users/rougier/events{/privacy}","received_events_url":"https://api.github.com/users/rougier/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T11:11:18Z","updated_at":"2016-11-06T11:11:18Z","body":"Thanks. Could you make PR so we can test it ?"}}
{"actor":{"display_login":"rougier"}}