{"action":"created","issue":{"url":"https://api.github.com/repos/coala-analyzer/coala-decorators/issues/15","repository_url":"https://api.github.com/repos/coala-analyzer/coala-decorators","labels_url":"https://api.github.com/repos/coala-analyzer/coala-decorators/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/coala-analyzer/coala-decorators/issues/15/comments","events_url":"https://api.github.com/repos/coala-analyzer/coala-decorators/issues/15/events","html_url":"https://github.com/coala-analyzer/coala-decorators/pull/15","id":154915096,"number":15,"title":"decorators.py: Improve yield_once speed","user":{"login":"justuswilhelm","id":1641042,"avatar_url":"https://avatars.githubusercontent.com/u/1641042?v=3","gravatar_id":"","url":"https://api.github.com/users/justuswilhelm","html_url":"https://github.com/justuswilhelm","followers_url":"https://api.github.com/users/justuswilhelm/followers","following_url":"https://api.github.com/users/justuswilhelm/following{/other_user}","gists_url":"https://api.github.com/users/justuswilhelm/gists{/gist_id}","starred_url":"https://api.github.com/users/justuswilhelm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justuswilhelm/subscriptions","organizations_url":"https://api.github.com/users/justuswilhelm/orgs","repos_url":"https://api.github.com/users/justuswilhelm/repos","events_url":"https://api.github.com/users/justuswilhelm/events{/privacy}","received_events_url":"https://api.github.com/users/justuswilhelm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coala-analyzer/coala-decorators/labels/process/pending%20review","name":"process/pending review","color":"ededed"},{"url":"https://api.github.com/repos/coala-analyzer/coala-decorators/labels/size/M","name":"size/M","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-05-15T15:47:53Z","updated_at":"2016-05-22T11:16:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/coala-analyzer/coala-decorators/pulls/15","html_url":"https://github.com/coala-analyzer/coala-decorators/pull/15","diff_url":"https://github.com/coala-analyzer/coala-decorators/pull/15.diff","patch_url":"https://github.com/coala-analyzer/coala-decorators/pull/15.patch"},"body":"Changes:\r\n- yield_once uses a set instead of a list to lookup already seen items\r\n- change the docstring to clarify that it does not wrap iterators but methods that return iterators\r\n- a doctest verifies that it works.\r\n\r\nIn order to run the doctests, type\r\n```\r\npython -m doctest coala_decorators/decorators.py\r\n```\r\n\r\nI wasn't sure whether there is a CI unit test suite yet, so I just created a simple doctest. This might be related to issue #9. Please let me know if anything can be improved.\r\n"},"comment":{"url":"https://api.github.com/repos/coala-analyzer/coala-decorators/issues/comments/220826924","html_url":"https://github.com/coala-analyzer/coala-decorators/pull/15#issuecomment-220826924","issue_url":"https://api.github.com/repos/coala-analyzer/coala-decorators/issues/15","id":220826924,"user":{"login":"sils1297","id":5716520,"avatar_url":"https://avatars.githubusercontent.com/u/5716520?v=3","gravatar_id":"","url":"https://api.github.com/users/sils1297","html_url":"https://github.com/sils1297","followers_url":"https://api.github.com/users/sils1297/followers","following_url":"https://api.github.com/users/sils1297/following{/other_user}","gists_url":"https://api.github.com/users/sils1297/gists{/gist_id}","starred_url":"https://api.github.com/users/sils1297/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sils1297/subscriptions","organizations_url":"https://api.github.com/users/sils1297/orgs","repos_url":"https://api.github.com/users/sils1297/repos","events_url":"https://api.github.com/users/sils1297/events{/privacy}","received_events_url":"https://api.github.com/users/sils1297/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T11:16:13Z","updated_at":"2016-05-22T11:16:13Z","body":"Do we want to move this repo to GitLab and see how CI setup is going on GitLab? I think it'd make things easier"}}
{"actor":{"display_login":"sils1297"}}