{"action":"opened","issue":{"url":"https://api.github.com/repos/alex-sherman/deco/issues/21","repository_url":"https://api.github.com/repos/alex-sherman/deco","labels_url":"https://api.github.com/repos/alex-sherman/deco/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/alex-sherman/deco/issues/21/comments","events_url":"https://api.github.com/repos/alex-sherman/deco/issues/21/events","html_url":"https://github.com/alex-sherman/deco/issues/21","id":155113963,"number":21,"title":"@synchronized with generators","user":{"login":"saethlin","id":12105168,"avatar_url":"https://avatars.githubusercontent.com/u/12105168?v=3","gravatar_id":"","url":"https://api.github.com/users/saethlin","html_url":"https://github.com/saethlin","followers_url":"https://api.github.com/users/saethlin/followers","following_url":"https://api.github.com/users/saethlin/following{/other_user}","gists_url":"https://api.github.com/users/saethlin/gists{/gist_id}","starred_url":"https://api.github.com/users/saethlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saethlin/subscriptions","organizations_url":"https://api.github.com/users/saethlin/orgs","repos_url":"https://api.github.com/users/saethlin/repos","events_url":"https://api.github.com/users/saethlin/events{/privacy}","received_events_url":"https://api.github.com/users/saethlin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-16T20:26:12Z","updated_at":"2016-05-16T20:26:12Z","closed_at":null,"body":"Because of the index-based limitation, this is currently not supported:\r\n```\r\n@synchronized\r\nfor thing in range(10):\r\n    concurrent_function(thing)\r\n```\r\nObviously there's a simple workaround in most cases to just use `list(generator)`. Do you plan to support generators in the future or is this a race condition problem?"}}