{"action":"created","issue":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/12789","repository_url":"https://api.github.com/repos/pytorch/pytorch","labels_url":"https://api.github.com/repos/pytorch/pytorch/issues/12789/labels{/name}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/12789/comments","events_url":"https://api.github.com/repos/pytorch/pytorch/issues/12789/events","html_url":"https://github.com/pytorch/pytorch/pull/12789","id":371288175,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNzcwMjY3","number":12789,"title":"First step at adding exceptions","user":{"login":"eellison","id":11477974,"node_id":"MDQ6VXNlcjExNDc3OTc0","avatar_url":"https://avatars2.githubusercontent.com/u/11477974?v=4","gravatar_id":"","url":"https://api.github.com/users/eellison","html_url":"https://github.com/eellison","followers_url":"https://api.github.com/users/eellison/followers","following_url":"https://api.github.com/users/eellison/following{/other_user}","gists_url":"https://api.github.com/users/eellison/gists{/gist_id}","starred_url":"https://api.github.com/users/eellison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eellison/subscriptions","organizations_url":"https://api.github.com/users/eellison/orgs","repos_url":"https://api.github.com/users/eellison/repos","events_url":"https://api.github.com/users/eellison/events{/privacy}","received_events_url":"https://api.github.com/users/eellison/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-10-17T22:15:28Z","updated_at":"2018-10-30T20:38:39Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/pytorch/pytorch/pulls/12789","html_url":"https://github.com/pytorch/pytorch/pull/12789","diff_url":"https://github.com/pytorch/pytorch/pull/12789.diff","patch_url":"https://github.com/pytorch/pytorch/pull/12789.patch"},"body":"This is a first step towards adding exceptions. We need minimal support in order to begin converting the torch library to weak script mode (which is the main goal here).  \r\n\r\nSome limitations (that are documented in the tests & compiler): \r\n1. Cannot assign exceptions to variables\r\n2. Any name after raise is being treated as a valid Exception \r\n3. No control flow analysis yet. Below a will be undefined:\r\n\r\nif True:\r\n     a = 1\r\nelse:\r\n     raise Exception(\"Hi\")\r\nreturn a\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/comments/434460836","html_url":"https://github.com/pytorch/pytorch/pull/12789#issuecomment-434460836","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/12789","id":434460836,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDQ2MDgzNg==","user":{"login":"eellison","id":11477974,"node_id":"MDQ6VXNlcjExNDc3OTc0","avatar_url":"https://avatars2.githubusercontent.com/u/11477974?v=4","gravatar_id":"","url":"https://api.github.com/users/eellison","html_url":"https://github.com/eellison","followers_url":"https://api.github.com/users/eellison/followers","following_url":"https://api.github.com/users/eellison/following{/other_user}","gists_url":"https://api.github.com/users/eellison/gists{/gist_id}","starred_url":"https://api.github.com/users/eellison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eellison/subscriptions","organizations_url":"https://api.github.com/users/eellison/orgs","repos_url":"https://api.github.com/users/eellison/repos","events_url":"https://api.github.com/users/eellison/events{/privacy}","received_events_url":"https://api.github.com/users/eellison/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T20:38:39Z","updated_at":"2018-10-30T20:38:39Z","author_association":"NONE","body":"@pytorchbot retest this please"}}
{"actor":{"display_login":"eellison"}}