{"action":"created","comment":{"url":"https://api.github.com/repos/dask/dask/pulls/comments/200335664","pull_request_review_id":134629507,"id":200335664,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDMzNTY2NA==","diff_hunk":"@@ -119,9 +120,36 @@ def test_arange():\n     nparr = np.arange(0, -1, 0.5)\n     assert_eq(darr, nparr)\n \n-\n-def test_arange_has_dtype():\n-    assert da.arange(5, chunks=2).dtype == np.arange(5).dtype\n+    # Unexpected or missing kwargs\n+    with assert_raises(TypeError):\n+        da.arange(10, chunks=-1, unexpected=True)","path":"dask/array/tests/test_creation.py","position":17,"original_position":17,"commit_id":"6c8639dcd0ba01fcd8d4e1720f80d798e0bc0cd1","original_commit_id":"6c8639dcd0ba01fcd8d4e1720f80d798e0bc0cd1","user":{"login":"mrocklin","id":306380,"node_id":"MDQ6VXNlcjMwNjM4MA==","avatar_url":"https://avatars3.githubusercontent.com/u/306380?v=4","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"body":"It would be nice (but not mandatory) to include the following check:\r\n\r\n```python\r\nwith pytest.raises(TypeError) as info:\r\n    da.arange(10, chunks=-1, unexpected=True)\r\nassert 'unexpected' in str(info.value)\r\n```","created_at":"2018-07-05T12:38:00Z","updated_at":"2018-07-05T12:40:00Z","html_url":"https://github.com/dask/dask/pull/3722#discussion_r200335664","pull_request_url":"https://api.github.com/repos/dask/dask/pulls/3722","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/dask/dask/pulls/comments/200335664"},"html":{"href":"https://github.com/dask/dask/pull/3722#discussion_r200335664"},"pull_request":{"href":"https://api.github.com/repos/dask/dask/pulls/3722"}}},"pull_request":{"url":"https://api.github.com/repos/dask/dask/pulls/3722","id":199443338,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5NDQzMzM4","html_url":"https://github.com/dask/dask/pull/3722","diff_url":"https://github.com/dask/dask/pull/3722.diff","patch_url":"https://github.com/dask/dask/pull/3722.patch","issue_url":"https://api.github.com/repos/dask/dask/issues/3722","number":3722,"state":"open","locked":false,"title":"Fix dtype-related issues of arange","user":{"login":"crusaderky","id":6213168,"node_id":"MDQ6VXNlcjYyMTMxNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/6213168?v=4","gravatar_id":"","url":"https://api.github.com/users/crusaderky","html_url":"https://github.com/crusaderky","followers_url":"https://api.github.com/users/crusaderky/followers","following_url":"https://api.github.com/users/crusaderky/following{/other_user}","gists_url":"https://api.github.com/users/crusaderky/gists{/gist_id}","starred_url":"https://api.github.com/users/crusaderky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crusaderky/subscriptions","organizations_url":"https://api.github.com/users/crusaderky/orgs","repos_url":"https://api.github.com/users/crusaderky/repos","events_url":"https://api.github.com/users/crusaderky/events{/privacy}","received_events_url":"https://api.github.com/users/crusaderky/received_events","type":"User","site_admin":false},"body":"Closes #3721 \r\nFixes everything except complex numbers, which I don't know how they're supposed to work in plain numpy to begin with...","created_at":"2018-07-05T11:42:40Z","updated_at":"2018-07-05T12:40:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d4959fb276c0a02942aa1c405e9fea6f1591908","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dask/dask/pulls/3722/commits","review_comments_url":"https://api.github.com/repos/dask/dask/pulls/3722/comments","review_comment_url":"https://api.github.com/repos/dask/dask/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dask/dask/issues/3722/comments","statuses_url":"https://api.github.com/repos/dask/dask/statuses/6c8639dcd0ba01fcd8d4e1720f80d798e0bc0cd1","head":{"label":"crusaderky:arange_dtype","ref":"arange_dtype","sha":"6c8639dcd0ba01fcd8d4e1720f80d798e0bc0cd1","user":{"login":"crusaderky","id":6213168,"node_id":"MDQ6VXNlcjYyMTMxNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/6213168?v=4","gravatar_id":"","url":"https://api.github.com/users/crusaderky","html_url":"https://github.com/crusaderky","followers_url":"https://api.github.com/users/crusaderky/followers","following_url":"https://api.github.com/users/crusaderky/following{/other_user}","gists_url":"https://api.github.com/users/crusaderky/gists{/gist_id}","starred_url":"https://api.github.com/users/crusaderky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crusaderky/subscriptions","organizations_url":"https://api.github.com/users/crusaderky/orgs","repos_url":"https://api.github.com/users/crusaderky/repos","events_url":"https://api.github.com/users/crusaderky/events{/privacy}","received_events_url":"https://api.github.com/users/crusaderky/received_events","type":"User","site_admin":false},"repo":{"id":71539717,"node_id":"MDEwOlJlcG9zaXRvcnk3MTUzOTcxNw==","name":"dask","full_name":"crusaderky/dask","owner":{"login":"crusaderky","id":6213168,"node_id":"MDQ6VXNlcjYyMTMxNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/6213168?v=4","gravatar_id":"","url":"https://api.github.com/users/crusaderky","html_url":"https://github.com/crusaderky","followers_url":"https://api.github.com/users/crusaderky/followers","following_url":"https://api.github.com/users/crusaderky/following{/other_user}","gists_url":"https://api.github.com/users/crusaderky/gists{/gist_id}","starred_url":"https://api.github.com/users/crusaderky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crusaderky/subscriptions","organizations_url":"https://api.github.com/users/crusaderky/orgs","repos_url":"https://api.github.com/users/crusaderky/repos","events_url":"https://api.github.com/users/crusaderky/events{/privacy}","received_events_url":"https://api.github.com/users/crusaderky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/crusaderky/dask","description":"Versatile parallel programming with task scheduling","fork":true,"url":"https://api.github.com/repos/crusaderky/dask","forks_url":"https://api.github.com/repos/crusaderky/dask/forks","keys_url":"https://api.github.com/repos/crusaderky/dask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crusaderky/dask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crusaderky/dask/teams","hooks_url":"https://api.github.com/repos/crusaderky/dask/hooks","issue_events_url":"https://api.github.com/repos/crusaderky/dask/issues/events{/number}","events_url":"https://api.github.com/repos/crusaderky/dask/events","assignees_url":"https://api.github.com/repos/crusaderky/dask/assignees{/user}","branches_url":"https://api.github.com/repos/crusaderky/dask/branches{/branch}","tags_url":"https://api.github.com/repos/crusaderky/dask/tags","blobs_url":"https://api.github.com/repos/crusaderky/dask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crusaderky/dask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crusaderky/dask/git/refs{/sha}","trees_url":"https://api.github.com/repos/crusaderky/dask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crusaderky/dask/statuses/{sha}","languages_url":"https://api.github.com/repos/crusaderky/dask/languages","stargazers_url":"https://api.github.com/repos/crusaderky/dask/stargazers","contributors_url":"https://api.github.com/repos/crusaderky/dask/contributors","subscribers_url":"https://api.github.com/repos/crusaderky/dask/subscribers","subscription_url":"https://api.github.com/repos/crusaderky/dask/subscription","commits_url":"https://api.github.com/repos/crusaderky/dask/commits{/sha}","git_commits_url":"https://api.github.com/repos/crusaderky/dask/git/commits{/sha}","comments_url":"https://api.github.com/repos/crusaderky/dask/comments{/number}","issue_comment_url":"https://api.github.com/repos/crusaderky/dask/issues/comments{/number}","contents_url":"https://api.github.com/repos/crusaderky/dask/contents/{+path}","compare_url":"https://api.github.com/repos/crusaderky/dask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crusaderky/dask/merges","archive_url":"https://api.github.com/repos/crusaderky/dask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crusaderky/dask/downloads","issues_url":"https://api.github.com/repos/crusaderky/dask/issues{/number}","pulls_url":"https://api.github.com/repos/crusaderky/dask/pulls{/number}","milestones_url":"https://api.github.com/repos/crusaderky/dask/milestones{/number}","notifications_url":"https://api.github.com/repos/crusaderky/dask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crusaderky/dask/labels{/name}","releases_url":"https://api.github.com/repos/crusaderky/dask/releases{/id}","deployments_url":"https://api.github.com/repos/crusaderky/dask/deployments","created_at":"2016-10-21T07:13:25Z","updated_at":"2018-07-05T09:52:43Z","pushed_at":"2018-07-05T11:47:18Z","git_url":"git://github.com/crusaderky/dask.git","ssh_url":"git@github.com:crusaderky/dask.git","clone_url":"https://github.com/crusaderky/dask.git","svn_url":"https://github.com/crusaderky/dask","homepage":"http://dask.pydata.org","size":21160,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dask:master","ref":"master","sha":"669cde6b1a02e5fc7f0bcb924489c6ae8e697323","user":{"login":"dask","id":17131925,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTMxOTI1","avatar_url":"https://avatars1.githubusercontent.com/u/17131925?v=4","gravatar_id":"","url":"https://api.github.com/users/dask","html_url":"https://github.com/dask","followers_url":"https://api.github.com/users/dask/followers","following_url":"https://api.github.com/users/dask/following{/other_user}","gists_url":"https://api.github.com/users/dask/gists{/gist_id}","starred_url":"https://api.github.com/users/dask/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dask/subscriptions","organizations_url":"https://api.github.com/users/dask/orgs","repos_url":"https://api.github.com/users/dask/repos","events_url":"https://api.github.com/users/dask/events{/privacy}","received_events_url":"https://api.github.com/users/dask/received_events","type":"Organization","site_admin":false},"repo":{"id":28782747,"node_id":"MDEwOlJlcG9zaXRvcnkyODc4Mjc0Nw==","name":"dask","full_name":"dask/dask","owner":{"login":"dask","id":17131925,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3MTMxOTI1","avatar_url":"https://avatars1.githubusercontent.com/u/17131925?v=4","gravatar_id":"","url":"https://api.github.com/users/dask","html_url":"https://github.com/dask","followers_url":"https://api.github.com/users/dask/followers","following_url":"https://api.github.com/users/dask/following{/other_user}","gists_url":"https://api.github.com/users/dask/gists{/gist_id}","starred_url":"https://api.github.com/users/dask/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dask/subscriptions","organizations_url":"https://api.github.com/users/dask/orgs","repos_url":"https://api.github.com/users/dask/repos","events_url":"https://api.github.com/users/dask/events{/privacy}","received_events_url":"https://api.github.com/users/dask/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dask/dask","description":"Parallel computing with task scheduling","fork":false,"url":"https://api.github.com/repos/dask/dask","forks_url":"https://api.github.com/repos/dask/dask/forks","keys_url":"https://api.github.com/repos/dask/dask/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dask/dask/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dask/dask/teams","hooks_url":"https://api.github.com/repos/dask/dask/hooks","issue_events_url":"https://api.github.com/repos/dask/dask/issues/events{/number}","events_url":"https://api.github.com/repos/dask/dask/events","assignees_url":"https://api.github.com/repos/dask/dask/assignees{/user}","branches_url":"https://api.github.com/repos/dask/dask/branches{/branch}","tags_url":"https://api.github.com/repos/dask/dask/tags","blobs_url":"https://api.github.com/repos/dask/dask/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dask/dask/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dask/dask/git/refs{/sha}","trees_url":"https://api.github.com/repos/dask/dask/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dask/dask/statuses/{sha}","languages_url":"https://api.github.com/repos/dask/dask/languages","stargazers_url":"https://api.github.com/repos/dask/dask/stargazers","contributors_url":"https://api.github.com/repos/dask/dask/contributors","subscribers_url":"https://api.github.com/repos/dask/dask/subscribers","subscription_url":"https://api.github.com/repos/dask/dask/subscription","commits_url":"https://api.github.com/repos/dask/dask/commits{/sha}","git_commits_url":"https://api.github.com/repos/dask/dask/git/commits{/sha}","comments_url":"https://api.github.com/repos/dask/dask/comments{/number}","issue_comment_url":"https://api.github.com/repos/dask/dask/issues/comments{/number}","contents_url":"https://api.github.com/repos/dask/dask/contents/{+path}","compare_url":"https://api.github.com/repos/dask/dask/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dask/dask/merges","archive_url":"https://api.github.com/repos/dask/dask/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dask/dask/downloads","issues_url":"https://api.github.com/repos/dask/dask/issues{/number}","pulls_url":"https://api.github.com/repos/dask/dask/pulls{/number}","milestones_url":"https://api.github.com/repos/dask/dask/milestones{/number}","notifications_url":"https://api.github.com/repos/dask/dask/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dask/dask/labels{/name}","releases_url":"https://api.github.com/repos/dask/dask/releases{/id}","deployments_url":"https://api.github.com/repos/dask/dask/deployments","created_at":"2015-01-04T18:50:00Z","updated_at":"2018-07-05T09:33:17Z","pushed_at":"2018-07-05T12:24:48Z","git_url":"git://github.com/dask/dask.git","ssh_url":"git@github.com:dask/dask.git","clone_url":"https://github.com/dask/dask.git","svn_url":"https://github.com/dask/dask","homepage":"http://dask.pydata.org","size":17264,"stargazers_count":3088,"watchers_count":3088,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":518,"mirror_url":null,"archived":false,"open_issues_count":472,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":518,"open_issues":472,"watchers":3088,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dask/dask/pulls/3722"},"html":{"href":"https://github.com/dask/dask/pull/3722"},"issue":{"href":"https://api.github.com/repos/dask/dask/issues/3722"},"comments":{"href":"https://api.github.com/repos/dask/dask/issues/3722/comments"},"review_comments":{"href":"https://api.github.com/repos/dask/dask/pulls/3722/comments"},"review_comment":{"href":"https://api.github.com/repos/dask/dask/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dask/dask/pulls/3722/commits"},"statuses":{"href":"https://api.github.com/repos/dask/dask/statuses/6c8639dcd0ba01fcd8d4e1720f80d798e0bc0cd1"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mrocklin"}}