{"action":"opened","issue":{"url":"https://api.github.com/repos/m-labs/artiq/issues/717","repository_url":"https://api.github.com/repos/m-labs/artiq","labels_url":"https://api.github.com/repos/m-labs/artiq/issues/717/labels{/name}","comments_url":"https://api.github.com/repos/m-labs/artiq/issues/717/comments","events_url":"https://api.github.com/repos/m-labs/artiq/issues/717/events","html_url":"https://github.com/m-labs/artiq/issues/717","id":221614565,"number":717,"title":"manual: document object mutability and lifetimes","user":{"login":"jordens","id":1338946,"avatar_url":"https://avatars2.githubusercontent.com/u/1338946?v=3","gravatar_id":"","url":"https://api.github.com/users/jordens","html_url":"https://github.com/jordens","followers_url":"https://api.github.com/users/jordens/followers","following_url":"https://api.github.com/users/jordens/following{/other_user}","gists_url":"https://api.github.com/users/jordens/gists{/gist_id}","starred_url":"https://api.github.com/users/jordens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordens/subscriptions","organizations_url":"https://api.github.com/users/jordens/orgs","repos_url":"https://api.github.com/users/jordens/repos","events_url":"https://api.github.com/users/jordens/events{/privacy}","received_events_url":"https://api.github.com/users/jordens/received_events","type":"User","site_admin":false},"labels":[{"id":301182644,"url":"https://api.github.com/repos/m-labs/artiq/labels/area:compiler","name":"area:compiler","color":"009800","default":false},{"id":226994765,"url":"https://api.github.com/repos/m-labs/artiq/labels/area:documentation","name":"area:documentation","color":"fbca04","default":false},{"id":256561500,"url":"https://api.github.com/repos/m-labs/artiq/labels/prio:2-normal","name":"prio:2-normal","color":"fbca04","default":false},{"id":436518878,"url":"https://api.github.com/repos/m-labs/artiq/labels/type:bug","name":"type:bug","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-13T16:23:27Z","updated_at":"2017-04-13T16:23:27Z","closed_at":null,"body":"There are a few other differences between ARTIQ-Python and regular Python that should be documented in the manual:\r\n\r\n* Data passing/mutability: explain the different allowed and forbidden ways of passing data from kernels back up to the host (attribute writeback or rpc, but not: modify list argument, return list).\r\n* Lifetime: explain that (maybe not even why) you can't return lists allocated inside kernels. Not to kernels and not to host-Python.\r\n\r\nThese may also be FAQs."}}
{"actor":{"display_login":"jordens"}}