{"action":"created","issue":{"url":"https://api.github.com/repos/nengo/nengo/issues/995","repository_url":"https://api.github.com/repos/nengo/nengo","labels_url":"https://api.github.com/repos/nengo/nengo/issues/995/labels{/name}","comments_url":"https://api.github.com/repos/nengo/nengo/issues/995/comments","events_url":"https://api.github.com/repos/nengo/nengo/issues/995/events","html_url":"https://github.com/nengo/nengo/pull/995","id":143369738,"number":995,"title":"Deferrables","user":{"login":"jgosmann","id":850157,"avatar_url":"https://avatars.githubusercontent.com/u/850157?v=3","gravatar_id":"","url":"https://api.github.com/users/jgosmann","html_url":"https://github.com/jgosmann","followers_url":"https://api.github.com/users/jgosmann/followers","following_url":"https://api.github.com/users/jgosmann/following{/other_user}","gists_url":"https://api.github.com/users/jgosmann/gists{/gist_id}","starred_url":"https://api.github.com/users/jgosmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgosmann/subscriptions","organizations_url":"https://api.github.com/users/jgosmann/orgs","repos_url":"https://api.github.com/users/jgosmann/repos","events_url":"https://api.github.com/users/jgosmann/events{/privacy}","received_events_url":"https://api.github.com/users/jgosmann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nengo/nengo/labels/discussion","name":"discussion","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"jgosmann","id":850157,"avatar_url":"https://avatars.githubusercontent.com/u/850157?v=3","gravatar_id":"","url":"https://api.github.com/users/jgosmann","html_url":"https://github.com/jgosmann","followers_url":"https://api.github.com/users/jgosmann/followers","following_url":"https://api.github.com/users/jgosmann/following{/other_user}","gists_url":"https://api.github.com/users/jgosmann/gists{/gist_id}","starred_url":"https://api.github.com/users/jgosmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgosmann/subscriptions","organizations_url":"https://api.github.com/users/jgosmann/orgs","repos_url":"https://api.github.com/users/jgosmann/repos","events_url":"https://api.github.com/users/jgosmann/events{/privacy}","received_events_url":"https://api.github.com/users/jgosmann/received_events","type":"User","site_admin":false},"assignees":[{"login":"jgosmann","id":850157,"avatar_url":"https://avatars.githubusercontent.com/u/850157?v=3","gravatar_id":"","url":"https://api.github.com/users/jgosmann","html_url":"https://github.com/jgosmann","followers_url":"https://api.github.com/users/jgosmann/followers","following_url":"https://api.github.com/users/jgosmann/following{/other_user}","gists_url":"https://api.github.com/users/jgosmann/gists{/gist_id}","starred_url":"https://api.github.com/users/jgosmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgosmann/subscriptions","organizations_url":"https://api.github.com/users/jgosmann/orgs","repos_url":"https://api.github.com/users/jgosmann/repos","events_url":"https://api.github.com/users/jgosmann/events{/privacy}","received_events_url":"https://api.github.com/users/jgosmann/received_events","type":"User","site_admin":false}],"milestone":null,"comments":90,"created_at":"2016-03-24T21:50:42Z","updated_at":"2016-08-08T19:20:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nengo/nengo/pulls/995","html_url":"https://github.com/nengo/nengo/pull/995","diff_url":"https://github.com/nengo/nengo/pull/995.diff","patch_url":"https://github.com/nengo/nengo/pull/995.patch"},"body":"PR separated out from PR #941.\r\n\r\n~~Based on PR #977.~~ Copying is not required for the functionality in this PR, so I rebased it to master to remove that part."},"comment":{"url":"https://api.github.com/repos/nengo/nengo/issues/comments/238346949","html_url":"https://github.com/nengo/nengo/pull/995#issuecomment-238346949","issue_url":"https://api.github.com/repos/nengo/nengo/issues/995","id":238346949,"user":{"login":"jgosmann","id":850157,"avatar_url":"https://avatars.githubusercontent.com/u/850157?v=3","gravatar_id":"","url":"https://api.github.com/users/jgosmann","html_url":"https://github.com/jgosmann","followers_url":"https://api.github.com/users/jgosmann/followers","following_url":"https://api.github.com/users/jgosmann/following{/other_user}","gists_url":"https://api.github.com/users/jgosmann/gists{/gist_id}","starred_url":"https://api.github.com/users/jgosmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgosmann/subscriptions","organizations_url":"https://api.github.com/users/jgosmann/orgs","repos_url":"https://api.github.com/users/jgosmann/repos","events_url":"https://api.github.com/users/jgosmann/events{/privacy}","received_events_url":"https://api.github.com/users/jgosmann/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T19:20:10Z","updated_at":"2016-08-08T19:20:10Z","body":"> I agree with you on that feeling. But I also feel sick replacing ens.radius with\r\n> \r\n> ens.radius if not isinstance(ens.radius, nengo.Deferrable) else sim.data[ens].deferred['radius']\r\n> \r\n> I certainly don't think the helper function approach is an elegant ideal solution.\r\n\r\nThat's again critizing a part of the implementation that is not finalized yet. I definitely want some nicer syntax for that (for example that you can access the radius with `sim.data[ens].params['radius']` in either case or something similar, details would need to be discussed)."}}
{"actor":{"display_login":"jgosmann"}}