{"action":"created","comment":{"url":"https://api.github.com/repos/numba/numba/pulls/comments/25617265","id":25617265,"diff_hunk":"@@ -714,6 +715,33 @@ def is_contig(self):\n         return self.layout in 'CF'\n \n \n+class VoidArray(Array):\n+    \"\"\"\n+    A VoidArray is an array nested within a structured type (which are \"void\"\n+    type in NumPy parlance). Unlike an Array, the shape, and not just the number\n+    of dimenions is part of the type of a VoidArray.","path":"numba/types.py","position":31,"original_position":31,"commit_id":"2c4ab030bc22829aacd595fbaaf45f8854f5bf75","original_commit_id":"2c4ab030bc22829aacd595fbaaf45f8854f5bf75","user":{"login":"gmarkall","id":535640,"avatar_url":"https://avatars.githubusercontent.com/u/535640?v=3","gravatar_id":"","url":"https://api.github.com/users/gmarkall","html_url":"https://github.com/gmarkall","followers_url":"https://api.github.com/users/gmarkall/followers","following_url":"https://api.github.com/users/gmarkall/following{/other_user}","gists_url":"https://api.github.com/users/gmarkall/gists{/gist_id}","starred_url":"https://api.github.com/users/gmarkall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmarkall/subscriptions","organizations_url":"https://api.github.com/users/gmarkall/orgs","repos_url":"https://api.github.com/users/gmarkall/repos","events_url":"https://api.github.com/users/gmarkall/events{/privacy}","received_events_url":"https://api.github.com/users/gmarkall/received_events","type":"User","site_admin":false},"body":"Thanks - will fix","created_at":"2015-03-02T17:25:28Z","updated_at":"2015-03-02T17:25:28Z","html_url":"https://github.com/numba/numba/pull/1018#discussion_r25617265","pull_request_url":"https://api.github.com/repos/numba/numba/pulls/1018","_links":{"self":{"href":"https://api.github.com/repos/numba/numba/pulls/comments/25617265"},"html":{"href":"https://github.com/numba/numba/pull/1018#discussion_r25617265"},"pull_request":{"href":"https://api.github.com/repos/numba/numba/pulls/1018"}}},"pull_request":{"url":"https://api.github.com/repos/numba/numba/pulls/1018","id":30283164,"html_url":"https://github.com/numba/numba/pull/1018","diff_url":"https://github.com/numba/numba/pull/1018.diff","patch_url":"https://github.com/numba/numba/pull/1018.patch","issue_url":"https://api.github.com/repos/numba/numba/issues/1018","number":1018,"state":"open","locked":false,"title":"Support arrays of scalars inside structured types","user":{"login":"gmarkall","id":535640,"avatar_url":"https://avatars.githubusercontent.com/u/535640?v=3","gravatar_id":"","url":"https://api.github.com/users/gmarkall","html_url":"https://github.com/gmarkall","followers_url":"https://api.github.com/users/gmarkall/followers","following_url":"https://api.github.com/users/gmarkall/following{/other_user}","gists_url":"https://api.github.com/users/gmarkall/gists{/gist_id}","starred_url":"https://api.github.com/users/gmarkall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmarkall/subscriptions","organizations_url":"https://api.github.com/users/gmarkall/orgs","repos_url":"https://api.github.com/users/gmarkall/repos","events_url":"https://api.github.com/users/gmarkall/events{/privacy}","received_events_url":"https://api.github.com/users/gmarkall/received_events","type":"User","site_admin":false},"body":"This adds support for arrays of scalars inside structured types by represented these arrays as a `types.VoidArray`, which behaves similarly to a `types.Array`, but the shape rather than just the number of dimensions is part of the type.\r\n\r\nOnly the raw array data is stored in a structured type, so an array structure is created and populated with relevant information when an array inside a structured type is accessed.","created_at":"2015-03-02T13:33:44Z","updated_at":"2015-03-02T17:25:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d01758d9c6bdbbdf29672c1cbb6ce6203002a7f6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/numba/numba/pulls/1018/commits","review_comments_url":"https://api.github.com/repos/numba/numba/pulls/1018/comments","review_comment_url":"https://api.github.com/repos/numba/numba/pulls/comments{/number}","comments_url":"https://api.github.com/repos/numba/numba/issues/1018/comments","statuses_url":"https://api.github.com/repos/numba/numba/statuses/2c4ab030bc22829aacd595fbaaf45f8854f5bf75","head":{"label":"gmarkall:array_in_record2","ref":"array_in_record2","sha":"2c4ab030bc22829aacd595fbaaf45f8854f5bf75","user":{"login":"gmarkall","id":535640,"avatar_url":"https://avatars.githubusercontent.com/u/535640?v=3","gravatar_id":"","url":"https://api.github.com/users/gmarkall","html_url":"https://github.com/gmarkall","followers_url":"https://api.github.com/users/gmarkall/followers","following_url":"https://api.github.com/users/gmarkall/following{/other_user}","gists_url":"https://api.github.com/users/gmarkall/gists{/gist_id}","starred_url":"https://api.github.com/users/gmarkall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmarkall/subscriptions","organizations_url":"https://api.github.com/users/gmarkall/orgs","repos_url":"https://api.github.com/users/gmarkall/repos","events_url":"https://api.github.com/users/gmarkall/events{/privacy}","received_events_url":"https://api.github.com/users/gmarkall/received_events","type":"User","site_admin":false},"repo":{"id":25310096,"name":"numba","full_name":"gmarkall/numba","owner":{"login":"gmarkall","id":535640,"avatar_url":"https://avatars.githubusercontent.com/u/535640?v=3","gravatar_id":"","url":"https://api.github.com/users/gmarkall","html_url":"https://github.com/gmarkall","followers_url":"https://api.github.com/users/gmarkall/followers","following_url":"https://api.github.com/users/gmarkall/following{/other_user}","gists_url":"https://api.github.com/users/gmarkall/gists{/gist_id}","starred_url":"https://api.github.com/users/gmarkall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmarkall/subscriptions","organizations_url":"https://api.github.com/users/gmarkall/orgs","repos_url":"https://api.github.com/users/gmarkall/repos","events_url":"https://api.github.com/users/gmarkall/events{/privacy}","received_events_url":"https://api.github.com/users/gmarkall/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gmarkall/numba","description":"NumPy aware dynamic Python compiler using LLVM","fork":true,"url":"https://api.github.com/repos/gmarkall/numba","forks_url":"https://api.github.com/repos/gmarkall/numba/forks","keys_url":"https://api.github.com/repos/gmarkall/numba/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gmarkall/numba/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gmarkall/numba/teams","hooks_url":"https://api.github.com/repos/gmarkall/numba/hooks","issue_events_url":"https://api.github.com/repos/gmarkall/numba/issues/events{/number}","events_url":"https://api.github.com/repos/gmarkall/numba/events","assignees_url":"https://api.github.com/repos/gmarkall/numba/assignees{/user}","branches_url":"https://api.github.com/repos/gmarkall/numba/branches{/branch}","tags_url":"https://api.github.com/repos/gmarkall/numba/tags","blobs_url":"https://api.github.com/repos/gmarkall/numba/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gmarkall/numba/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gmarkall/numba/git/refs{/sha}","trees_url":"https://api.github.com/repos/gmarkall/numba/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gmarkall/numba/statuses/{sha}","languages_url":"https://api.github.com/repos/gmarkall/numba/languages","stargazers_url":"https://api.github.com/repos/gmarkall/numba/stargazers","contributors_url":"https://api.github.com/repos/gmarkall/numba/contributors","subscribers_url":"https://api.github.com/repos/gmarkall/numba/subscribers","subscription_url":"https://api.github.com/repos/gmarkall/numba/subscription","commits_url":"https://api.github.com/repos/gmarkall/numba/commits{/sha}","git_commits_url":"https://api.github.com/repos/gmarkall/numba/git/commits{/sha}","comments_url":"https://api.github.com/repos/gmarkall/numba/comments{/number}","issue_comment_url":"https://api.github.com/repos/gmarkall/numba/issues/comments{/number}","contents_url":"https://api.github.com/repos/gmarkall/numba/contents/{+path}","compare_url":"https://api.github.com/repos/gmarkall/numba/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gmarkall/numba/merges","archive_url":"https://api.github.com/repos/gmarkall/numba/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gmarkall/numba/downloads","issues_url":"https://api.github.com/repos/gmarkall/numba/issues{/number}","pulls_url":"https://api.github.com/repos/gmarkall/numba/pulls{/number}","milestones_url":"https://api.github.com/repos/gmarkall/numba/milestones{/number}","notifications_url":"https://api.github.com/repos/gmarkall/numba/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gmarkall/numba/labels{/name}","releases_url":"https://api.github.com/repos/gmarkall/numba/releases{/id}","created_at":"2014-10-16T16:04:09Z","updated_at":"2015-03-02T13:24:26Z","pushed_at":"2015-03-02T13:28:00Z","git_url":"git://github.com/gmarkall/numba.git","ssh_url":"git@github.com:gmarkall/numba.git","clone_url":"https://github.com/gmarkall/numba.git","svn_url":"https://github.com/gmarkall/numba","homepage":"","size":16829,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"numba:master","ref":"master","sha":"905adde301975d51c5f544881ffbd1d18f75d332","user":{"login":"numba","id":1628082,"avatar_url":"https://avatars.githubusercontent.com/u/1628082?v=3","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://avatars.githubusercontent.com/u/1628082?v=3","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}","created_at":"2012-03-08T11:12:43Z","updated_at":"2015-03-02T14:08:25Z","pushed_at":"2015-03-02T14:08:25Z","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":"","size":26490,"stargazers_count":1375,"watchers_count":1375,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":147,"mirror_url":null,"open_issues_count":170,"forks":147,"open_issues":170,"watchers":1375,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/numba/numba/pulls/1018"},"html":{"href":"https://github.com/numba/numba/pull/1018"},"issue":{"href":"https://api.github.com/repos/numba/numba/issues/1018"},"comments":{"href":"https://api.github.com/repos/numba/numba/issues/1018/comments"},"review_comments":{"href":"https://api.github.com/repos/numba/numba/pulls/1018/comments"},"review_comment":{"href":"https://api.github.com/repos/numba/numba/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/numba/numba/pulls/1018/commits"},"statuses":{"href":"https://api.github.com/repos/numba/numba/statuses/2c4ab030bc22829aacd595fbaaf45f8854f5bf75"}}}}