{"action":"closed","number":2566,"pull_request":{"url":"https://api.github.com/repos/numba/numba/pulls/2566","id":147181933,"html_url":"https://github.com/numba/numba/pull/2566","diff_url":"https://github.com/numba/numba/pull/2566.diff","patch_url":"https://github.com/numba/numba/pull/2566.patch","issue_url":"https://api.github.com/repos/numba/numba/issues/2566","number":2566,"state":"closed","locked":false,"title":"Fix issue #2564.","user":{"login":"ninegua","id":1549364,"avatar_url":"https://avatars0.githubusercontent.com/u/1549364?v=4","gravatar_id":"","url":"https://api.github.com/users/ninegua","html_url":"https://github.com/ninegua","followers_url":"https://api.github.com/users/ninegua/followers","following_url":"https://api.github.com/users/ninegua/following{/other_user}","gists_url":"https://api.github.com/users/ninegua/gists{/gist_id}","starred_url":"https://api.github.com/users/ninegua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninegua/subscriptions","organizations_url":"https://api.github.com/users/ninegua/orgs","repos_url":"https://api.github.com/users/ninegua/repos","events_url":"https://api.github.com/users/ninegua/events{/privacy}","received_events_url":"https://api.github.com/users/ninegua/received_events","type":"User","site_admin":false},"body":"The problem arises when constants used in comprehension is defined only after array creation.\r\nThe fix is to detect this situation and define the constant before array creation.","created_at":"2017-10-18T00:04:36Z","updated_at":"2017-10-20T19:22:20Z","closed_at":"2017-10-20T19:22:20Z","merged_at":"2017-10-20T19:22:20Z","merge_commit_sha":"acf2702cb80415138323fd81ca93a53e4b39581c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/numba/numba/pulls/2566/commits","review_comments_url":"https://api.github.com/repos/numba/numba/pulls/2566/comments","review_comment_url":"https://api.github.com/repos/numba/numba/pulls/comments{/number}","comments_url":"https://api.github.com/repos/numba/numba/issues/2566/comments","statuses_url":"https://api.github.com/repos/numba/numba/statuses/8843e43d5d43e5b02c2b5b1b4be563563b409ec7","head":{"label":"IntelLabs:issue-2564","ref":"issue-2564","sha":"8843e43d5d43e5b02c2b5b1b4be563563b409ec7","user":{"login":"IntelLabs","id":1492758,"avatar_url":"https://avatars3.githubusercontent.com/u/1492758?v=4","gravatar_id":"","url":"https://api.github.com/users/IntelLabs","html_url":"https://github.com/IntelLabs","followers_url":"https://api.github.com/users/IntelLabs/followers","following_url":"https://api.github.com/users/IntelLabs/following{/other_user}","gists_url":"https://api.github.com/users/IntelLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/IntelLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IntelLabs/subscriptions","organizations_url":"https://api.github.com/users/IntelLabs/orgs","repos_url":"https://api.github.com/users/IntelLabs/repos","events_url":"https://api.github.com/users/IntelLabs/events{/privacy}","received_events_url":"https://api.github.com/users/IntelLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":70097282,"name":"numba","full_name":"IntelLabs/numba","owner":{"login":"IntelLabs","id":1492758,"avatar_url":"https://avatars3.githubusercontent.com/u/1492758?v=4","gravatar_id":"","url":"https://api.github.com/users/IntelLabs","html_url":"https://github.com/IntelLabs","followers_url":"https://api.github.com/users/IntelLabs/followers","following_url":"https://api.github.com/users/IntelLabs/following{/other_user}","gists_url":"https://api.github.com/users/IntelLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/IntelLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IntelLabs/subscriptions","organizations_url":"https://api.github.com/users/IntelLabs/orgs","repos_url":"https://api.github.com/users/IntelLabs/repos","events_url":"https://api.github.com/users/IntelLabs/events{/privacy}","received_events_url":"https://api.github.com/users/IntelLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IntelLabs/numba","description":"NumPy aware dynamic Python compiler using LLVM","fork":true,"url":"https://api.github.com/repos/IntelLabs/numba","forks_url":"https://api.github.com/repos/IntelLabs/numba/forks","keys_url":"https://api.github.com/repos/IntelLabs/numba/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IntelLabs/numba/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IntelLabs/numba/teams","hooks_url":"https://api.github.com/repos/IntelLabs/numba/hooks","issue_events_url":"https://api.github.com/repos/IntelLabs/numba/issues/events{/number}","events_url":"https://api.github.com/repos/IntelLabs/numba/events","assignees_url":"https://api.github.com/repos/IntelLabs/numba/assignees{/user}","branches_url":"https://api.github.com/repos/IntelLabs/numba/branches{/branch}","tags_url":"https://api.github.com/repos/IntelLabs/numba/tags","blobs_url":"https://api.github.com/repos/IntelLabs/numba/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IntelLabs/numba/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IntelLabs/numba/git/refs{/sha}","trees_url":"https://api.github.com/repos/IntelLabs/numba/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IntelLabs/numba/statuses/{sha}","languages_url":"https://api.github.com/repos/IntelLabs/numba/languages","stargazers_url":"https://api.github.com/repos/IntelLabs/numba/stargazers","contributors_url":"https://api.github.com/repos/IntelLabs/numba/contributors","subscribers_url":"https://api.github.com/repos/IntelLabs/numba/subscribers","subscription_url":"https://api.github.com/repos/IntelLabs/numba/subscription","commits_url":"https://api.github.com/repos/IntelLabs/numba/commits{/sha}","git_commits_url":"https://api.github.com/repos/IntelLabs/numba/git/commits{/sha}","comments_url":"https://api.github.com/repos/IntelLabs/numba/comments{/number}","issue_comment_url":"https://api.github.com/repos/IntelLabs/numba/issues/comments{/number}","contents_url":"https://api.github.com/repos/IntelLabs/numba/contents/{+path}","compare_url":"https://api.github.com/repos/IntelLabs/numba/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IntelLabs/numba/merges","archive_url":"https://api.github.com/repos/IntelLabs/numba/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IntelLabs/numba/downloads","issues_url":"https://api.github.com/repos/IntelLabs/numba/issues{/number}","pulls_url":"https://api.github.com/repos/IntelLabs/numba/pulls{/number}","milestones_url":"https://api.github.com/repos/IntelLabs/numba/milestones{/number}","notifications_url":"https://api.github.com/repos/IntelLabs/numba/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IntelLabs/numba/labels{/name}","releases_url":"https://api.github.com/repos/IntelLabs/numba/releases{/id}","deployments_url":"https://api.github.com/repos/IntelLabs/numba/deployments","created_at":"2016-10-05T20:36:09Z","updated_at":"2017-10-05T08:31:02Z","pushed_at":"2017-10-19T17:34:32Z","git_url":"git://github.com/IntelLabs/numba.git","ssh_url":"git@github.com:IntelLabs/numba.git","clone_url":"https://github.com/IntelLabs/numba.git","svn_url":"https://github.com/IntelLabs/numba","homepage":"http://numba.pydata.org/","size":45346,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":12,"forks":1,"open_issues":12,"watchers":9,"default_branch":"master"}},"base":{"label":"numba:master","ref":"master","sha":"2818dc9e24fc2f5c6990f77a2a8638167f98f808","user":{"login":"numba","id":1628082,"avatar_url":"https://avatars2.githubusercontent.com/u/1628082?v=4","gravatar_id":"","url":"https://api.github.com/users/numba","html_url":"https://github.com/numba","followers_url":"https://api.github.com/users/numba/followers","following_url":"https://api.github.com/users/numba/following{/other_user}","gists_url":"https://api.github.com/users/numba/gists{/gist_id}","starred_url":"https://api.github.com/users/numba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numba/subscriptions","organizations_url":"https://api.github.com/users/numba/orgs","repos_url":"https://api.github.com/users/numba/repos","events_url":"https://api.github.com/users/numba/events{/privacy}","received_events_url":"https://api.github.com/users/numba/received_events","type":"Organization","site_admin":false},"repo":{"id":3659275,"name":"numba","full_name":"numba/numba","owner":{"login":"numba","id":1628082,"avatar_url":"https://avatars2.githubusercontent.com/u/1628082?v=4","gravatar_id":"","url":"https://api.github.com/users/numba","html_url":"https://github.com/numba","followers_url":"https://api.github.com/users/numba/followers","following_url":"https://api.github.com/users/numba/following{/other_user}","gists_url":"https://api.github.com/users/numba/gists{/gist_id}","starred_url":"https://api.github.com/users/numba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numba/subscriptions","organizations_url":"https://api.github.com/users/numba/orgs","repos_url":"https://api.github.com/users/numba/repos","events_url":"https://api.github.com/users/numba/events{/privacy}","received_events_url":"https://api.github.com/users/numba/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/numba/numba","description":"NumPy aware dynamic Python compiler using LLVM","fork":false,"url":"https://api.github.com/repos/numba/numba","forks_url":"https://api.github.com/repos/numba/numba/forks","keys_url":"https://api.github.com/repos/numba/numba/keys{/key_id}","collaborators_url":"https://api.github.com/repos/numba/numba/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/numba/numba/teams","hooks_url":"https://api.github.com/repos/numba/numba/hooks","issue_events_url":"https://api.github.com/repos/numba/numba/issues/events{/number}","events_url":"https://api.github.com/repos/numba/numba/events","assignees_url":"https://api.github.com/repos/numba/numba/assignees{/user}","branches_url":"https://api.github.com/repos/numba/numba/branches{/branch}","tags_url":"https://api.github.com/repos/numba/numba/tags","blobs_url":"https://api.github.com/repos/numba/numba/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/numba/numba/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/numba/numba/git/refs{/sha}","trees_url":"https://api.github.com/repos/numba/numba/git/trees{/sha}","statuses_url":"https://api.github.com/repos/numba/numba/statuses/{sha}","languages_url":"https://api.github.com/repos/numba/numba/languages","stargazers_url":"https://api.github.com/repos/numba/numba/stargazers","contributors_url":"https://api.github.com/repos/numba/numba/contributors","subscribers_url":"https://api.github.com/repos/numba/numba/subscribers","subscription_url":"https://api.github.com/repos/numba/numba/subscription","commits_url":"https://api.github.com/repos/numba/numba/commits{/sha}","git_commits_url":"https://api.github.com/repos/numba/numba/git/commits{/sha}","comments_url":"https://api.github.com/repos/numba/numba/comments{/number}","issue_comment_url":"https://api.github.com/repos/numba/numba/issues/comments{/number}","contents_url":"https://api.github.com/repos/numba/numba/contents/{+path}","compare_url":"https://api.github.com/repos/numba/numba/compare/{base}...{head}","merges_url":"https://api.github.com/repos/numba/numba/merges","archive_url":"https://api.github.com/repos/numba/numba/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/numba/numba/downloads","issues_url":"https://api.github.com/repos/numba/numba/issues{/number}","pulls_url":"https://api.github.com/repos/numba/numba/pulls{/number}","milestones_url":"https://api.github.com/repos/numba/numba/milestones{/number}","notifications_url":"https://api.github.com/repos/numba/numba/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/numba/numba/labels{/name}","releases_url":"https://api.github.com/repos/numba/numba/releases{/id}","deployments_url":"https://api.github.com/repos/numba/numba/deployments","created_at":"2012-03-08T11:12:43Z","updated_at":"2017-10-20T12:46:17Z","pushed_at":"2017-10-20T19:22:20Z","git_url":"git://github.com/numba/numba.git","ssh_url":"git@github.com:numba/numba.git","clone_url":"https://github.com/numba/numba.git","svn_url":"https://github.com/numba/numba","homepage":"http://numba.pydata.org/","size":44542,"stargazers_count":2652,"watchers_count":2652,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":274,"mirror_url":null,"archived":false,"open_issues_count":365,"forks":274,"open_issues":365,"watchers":2652,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/numba/numba/pulls/2566"},"html":{"href":"https://github.com/numba/numba/pull/2566"},"issue":{"href":"https://api.github.com/repos/numba/numba/issues/2566"},"comments":{"href":"https://api.github.com/repos/numba/numba/issues/2566/comments"},"review_comments":{"href":"https://api.github.com/repos/numba/numba/pulls/2566/comments"},"review_comment":{"href":"https://api.github.com/repos/numba/numba/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/numba/numba/pulls/2566/commits"},"statuses":{"href":"https://api.github.com/repos/numba/numba/statuses/8843e43d5d43e5b02c2b5b1b4be563563b409ec7"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"stuartarchibald","id":907717,"avatar_url":"https://avatars3.githubusercontent.com/u/907717?v=4","gravatar_id":"","url":"https://api.github.com/users/stuartarchibald","html_url":"https://github.com/stuartarchibald","followers_url":"https://api.github.com/users/stuartarchibald/followers","following_url":"https://api.github.com/users/stuartarchibald/following{/other_user}","gists_url":"https://api.github.com/users/stuartarchibald/gists{/gist_id}","starred_url":"https://api.github.com/users/stuartarchibald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuartarchibald/subscriptions","organizations_url":"https://api.github.com/users/stuartarchibald/orgs","repos_url":"https://api.github.com/users/stuartarchibald/repos","events_url":"https://api.github.com/users/stuartarchibald/events{/privacy}","received_events_url":"https://api.github.com/users/stuartarchibald/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":65,"deletions":12,"changed_files":2}}
{"actor":{"display_login":"stuartarchibald"}}