{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/swift/issues/30","repository_url":"https://api.github.com/repos/tensorflow/swift","labels_url":"https://api.github.com/repos/tensorflow/swift/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/swift/issues/30/comments","events_url":"https://api.github.com/repos/tensorflow/swift/issues/30/events","html_url":"https://github.com/tensorflow/swift/issues/30","id":325941906,"node_id":"MDU6SXNzdWUzMjU5NDE5MDY=","number":30,"title":"numpy broadcast NotImplemented in Swift 4.2","user":{"login":"Honghe","id":1092722,"node_id":"MDQ6VXNlcjEwOTI3MjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1092722?v=4","gravatar_id":"","url":"https://api.github.com/users/Honghe","html_url":"https://github.com/Honghe","followers_url":"https://api.github.com/users/Honghe/followers","following_url":"https://api.github.com/users/Honghe/following{/other_user}","gists_url":"https://api.github.com/users/Honghe/gists{/gist_id}","starred_url":"https://api.github.com/users/Honghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Honghe/subscriptions","organizations_url":"https://api.github.com/users/Honghe/orgs","repos_url":"https://api.github.com/users/Honghe/repos","events_url":"https://api.github.com/users/Honghe/events{/privacy}","received_events_url":"https://api.github.com/users/Honghe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-24T02:31:06Z","updated_at":"2018-06-02T19:42:05Z","closed_at":"2018-06-02T18:36:24Z","author_association":"NONE","body":"Environment:\r\n```\r\nUbuntu 16.04\r\nswift --version\r\nSwift version 4.2-dev (LLVM 04bdb56f3d, Clang b44dbbdf44, Swift aa19e11af7)\r\n```\r\n\r\nSource:\r\n```\r\nimport Python\r\nlet np = Python.import(\"numpy\")\r\nlet a = np.arange.call(with: 15).reshape.call(with: 3, 5)\r\nprint(a)\r\n\r\nlet c = 2 * a\r\nprint(c)\r\n```\r\nOutput:\r\n```\r\n[[ 0  1  2  3  4]\r\n [ 5  6  7  8  9]\r\n [10 11 12 13 14]]\r\nNotImplemented\r\n```"},"comment":{"url":"https://api.github.com/repos/tensorflow/swift/issues/comments/394112048","html_url":"https://github.com/tensorflow/swift/issues/30#issuecomment-394112048","issue_url":"https://api.github.com/repos/tensorflow/swift/issues/30","id":394112048,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDExMjA0OA==","user":{"login":"dan-zheng","id":5590046,"node_id":"MDQ6VXNlcjU1OTAwNDY=","avatar_url":"https://avatars0.githubusercontent.com/u/5590046?v=4","gravatar_id":"","url":"https://api.github.com/users/dan-zheng","html_url":"https://github.com/dan-zheng","followers_url":"https://api.github.com/users/dan-zheng/followers","following_url":"https://api.github.com/users/dan-zheng/following{/other_user}","gists_url":"https://api.github.com/users/dan-zheng/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-zheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-zheng/subscriptions","organizations_url":"https://api.github.com/users/dan-zheng/orgs","repos_url":"https://api.github.com/users/dan-zheng/repos","events_url":"https://api.github.com/users/dan-zheng/events{/privacy}","received_events_url":"https://api.github.com/users/dan-zheng/received_events","type":"User","site_admin":false},"created_at":"2018-06-02T19:42:05Z","updated_at":"2018-06-02T19:42:05Z","author_association":"MEMBER","body":"Unfortunately, I didn't because I don't know how to test this in pure Python without importing NumPy and without the ability to easily create custom classes.\r\n\r\nI can look into adding a lit config \"numpy\" available feature for running NumPy-specific tests."}}
{"actor":{"display_login":"dan-zheng"}}