{"action":"created","issue":{"url":"https://api.github.com/repos/hylang/hy/issues/1678","repository_url":"https://api.github.com/repos/hylang/hy","labels_url":"https://api.github.com/repos/hylang/hy/issues/1678/labels{/name}","comments_url":"https://api.github.com/repos/hylang/hy/issues/1678/comments","events_url":"https://api.github.com/repos/hylang/hy/issues/1678/events","html_url":"https://github.com/hylang/hy/pull/1678","id":357054924,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzMTYxNTcx","number":1678,"title":"Allow `runpy` to consider non-standard Hy source extensions","user":{"login":"brandonwillard","id":971601,"node_id":"MDQ6VXNlcjk3MTYwMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/971601?v=4","gravatar_id":"","url":"https://api.github.com/users/brandonwillard","html_url":"https://github.com/brandonwillard","followers_url":"https://api.github.com/users/brandonwillard/followers","following_url":"https://api.github.com/users/brandonwillard/following{/other_user}","gists_url":"https://api.github.com/users/brandonwillard/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonwillard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonwillard/subscriptions","organizations_url":"https://api.github.com/users/brandonwillard/orgs","repos_url":"https://api.github.com/users/brandonwillard/repos","events_url":"https://api.github.com/users/brandonwillard/events{/privacy}","received_events_url":"https://api.github.com/users/brandonwillard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-09-05T03:45:47Z","updated_at":"2018-09-24T20:28:16Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/hylang/hy/pulls/1678","html_url":"https://github.com/hylang/hy/pull/1678","diff_url":"https://github.com/hylang/hy/pull/1678.diff","patch_url":"https://github.com/hylang/hy/pull/1678.patch"},"body":"Adds Hy parsing of files with unrecognized source extensions to cmdline Hy.\r\n\r\n~~The fallback is tried only after first attempting standard Python compilation.  If the attempt raises a `SyntaxError` (and the file is not clearly identified as Python source via its extension), then it tries Hy.\r\nThe reason for choosing the order Python-then-Hy is somewhat arbitrary, except for the impression that Python's parsing might be more efficient than Hy's and, thus, better as a first attempt.~~"},"comment":{"url":"https://api.github.com/repos/hylang/hy/issues/comments/424113487","html_url":"https://github.com/hylang/hy/pull/1678#issuecomment-424113487","issue_url":"https://api.github.com/repos/hylang/hy/issues/1678","id":424113487,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDExMzQ4Nw==","user":{"login":"Kodiologist","id":322730,"node_id":"MDQ6VXNlcjMyMjczMA==","avatar_url":"https://avatars3.githubusercontent.com/u/322730?v=4","gravatar_id":"","url":"https://api.github.com/users/Kodiologist","html_url":"https://github.com/Kodiologist","followers_url":"https://api.github.com/users/Kodiologist/followers","following_url":"https://api.github.com/users/Kodiologist/following{/other_user}","gists_url":"https://api.github.com/users/Kodiologist/gists{/gist_id}","starred_url":"https://api.github.com/users/Kodiologist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kodiologist/subscriptions","organizations_url":"https://api.github.com/users/Kodiologist/orgs","repos_url":"https://api.github.com/users/Kodiologist/repos","events_url":"https://api.github.com/users/Kodiologist/events{/privacy}","received_events_url":"https://api.github.com/users/Kodiologist/received_events","type":"User","site_admin":false},"created_at":"2018-09-24T20:28:16Z","updated_at":"2018-09-24T20:28:16Z","author_association":"MEMBER","body":"Sorry I forgot about Hy for a few days there. I'll merge this now."}}
{"actor":{"display_login":"Kodiologist"}}