{"action":"created","comment":{"url":"https://api.github.com/repos/numpy/numpy/pulls/comments/66021601","id":66021601,"diff_hunk":"@@ -1235,31 +944,77 @@ cdef class RandomState:\n         array([[4, 0, 2, 1],\n                [3, 2, 2, 0]])\n \n+        Generate a 1 x 3 array with 3 different upper bounds:\n+        >>> np.random.randint(1, [3, 5, 10])\n+        array([2, 2, 9])\n+\n+        Generate a 1 x 3 array with 3 different lower bounds:\n+        >>> np.random.randint([1, 5, 7], 10)\n+        array([9, 8, 7])\n+\n+        Generate a 1 x 3 array with 3 different lower and upper bounds:\n+        >>> np.random.randint([1, 5, 7], [13, 30, 45])\n+        array([12,  5, 18])\n+\n+        Generate a 2 x 4 array of ints of the data type np.uint8:","path":"numpy/random/mtrand/mtrand.pyx","position":335,"original_position":335,"commit_id":"9d356882b58f7065545132fc26dd0bd71745153f","original_commit_id":"9d356882b58f7065545132fc26dd0bd71745153f","user":{"login":"perimosocordiae","id":82855,"avatar_url":"https://avatars.githubusercontent.com/u/82855?v=3","gravatar_id":"","url":"https://api.github.com/users/perimosocordiae","html_url":"https://github.com/perimosocordiae","followers_url":"https://api.github.com/users/perimosocordiae/followers","following_url":"https://api.github.com/users/perimosocordiae/following{/other_user}","gists_url":"https://api.github.com/users/perimosocordiae/gists{/gist_id}","starred_url":"https://api.github.com/users/perimosocordiae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perimosocordiae/subscriptions","organizations_url":"https://api.github.com/users/perimosocordiae/orgs","repos_url":"https://api.github.com/users/perimosocordiae/repos","events_url":"https://api.github.com/users/perimosocordiae/events{/privacy}","received_events_url":"https://api.github.com/users/perimosocordiae/received_events","type":"User","site_admin":false},"body":"Oops, nevermind! I didn't expand enough context.","created_at":"2016-06-07T07:29:44Z","updated_at":"2016-06-07T07:29:44Z","html_url":"https://github.com/numpy/numpy/pull/6938#discussion_r66021601","pull_request_url":"https://api.github.com/repos/numpy/numpy/pulls/6938","_links":{"self":{"href":"https://api.github.com/repos/numpy/numpy/pulls/comments/66021601"},"html":{"href":"https://github.com/numpy/numpy/pull/6938#discussion_r66021601"},"pull_request":{"href":"https://api.github.com/repos/numpy/numpy/pulls/6938"}}},"pull_request":{"url":"https://api.github.com/repos/numpy/numpy/pulls/6938","id":55044008,"html_url":"https://github.com/numpy/numpy/pull/6938","diff_url":"https://github.com/numpy/numpy/pull/6938.diff","patch_url":"https://github.com/numpy/numpy/pull/6938.patch","issue_url":"https://api.github.com/repos/numpy/numpy/issues/6938","number":6938,"state":"open","locked":false,"title":"ENH: Allow Randint to Broadcast Arguments","user":{"login":"gfyoung","id":9273653,"avatar_url":"https://avatars.githubusercontent.com/u/9273653?v=3","gravatar_id":"","url":"https://api.github.com/users/gfyoung","html_url":"https://github.com/gfyoung","followers_url":"https://api.github.com/users/gfyoung/followers","following_url":"https://api.github.com/users/gfyoung/following{/other_user}","gists_url":"https://api.github.com/users/gfyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/gfyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfyoung/subscriptions","organizations_url":"https://api.github.com/users/gfyoung/orgs","repos_url":"https://api.github.com/users/gfyoung/repos","events_url":"https://api.github.com/users/gfyoung/events{/privacy}","received_events_url":"https://api.github.com/users/gfyoung/received_events","type":"User","site_admin":false},"body":"#6902, take two.  Addresses issue #6745. ","created_at":"2016-01-05T01:09:55Z","updated_at":"2016-06-07T07:29:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"17bee6e14cc5de428e2833ca97aaa8ff04168346","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/numpy/numpy/pulls/6938/commits","review_comments_url":"https://api.github.com/repos/numpy/numpy/pulls/6938/comments","review_comment_url":"https://api.github.com/repos/numpy/numpy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/6938/comments","statuses_url":"https://api.github.com/repos/numpy/numpy/statuses/9d356882b58f7065545132fc26dd0bd71745153f","head":{"label":"gfyoung:rand_int_arg_broadcast","ref":"rand_int_arg_broadcast","sha":"9d356882b58f7065545132fc26dd0bd71745153f","user":{"login":"gfyoung","id":9273653,"avatar_url":"https://avatars.githubusercontent.com/u/9273653?v=3","gravatar_id":"","url":"https://api.github.com/users/gfyoung","html_url":"https://github.com/gfyoung","followers_url":"https://api.github.com/users/gfyoung/followers","following_url":"https://api.github.com/users/gfyoung/following{/other_user}","gists_url":"https://api.github.com/users/gfyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/gfyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfyoung/subscriptions","organizations_url":"https://api.github.com/users/gfyoung/orgs","repos_url":"https://api.github.com/users/gfyoung/repos","events_url":"https://api.github.com/users/gfyoung/events{/privacy}","received_events_url":"https://api.github.com/users/gfyoung/received_events","type":"User","site_admin":false},"repo":{"id":47796553,"name":"numpy","full_name":"gfyoung/numpy","owner":{"login":"gfyoung","id":9273653,"avatar_url":"https://avatars.githubusercontent.com/u/9273653?v=3","gravatar_id":"","url":"https://api.github.com/users/gfyoung","html_url":"https://github.com/gfyoung","followers_url":"https://api.github.com/users/gfyoung/followers","following_url":"https://api.github.com/users/gfyoung/following{/other_user}","gists_url":"https://api.github.com/users/gfyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/gfyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfyoung/subscriptions","organizations_url":"https://api.github.com/users/gfyoung/orgs","repos_url":"https://api.github.com/users/gfyoung/repos","events_url":"https://api.github.com/users/gfyoung/events{/privacy}","received_events_url":"https://api.github.com/users/gfyoung/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gfyoung/numpy","description":"Numpy main repository","fork":true,"url":"https://api.github.com/repos/gfyoung/numpy","forks_url":"https://api.github.com/repos/gfyoung/numpy/forks","keys_url":"https://api.github.com/repos/gfyoung/numpy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gfyoung/numpy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gfyoung/numpy/teams","hooks_url":"https://api.github.com/repos/gfyoung/numpy/hooks","issue_events_url":"https://api.github.com/repos/gfyoung/numpy/issues/events{/number}","events_url":"https://api.github.com/repos/gfyoung/numpy/events","assignees_url":"https://api.github.com/repos/gfyoung/numpy/assignees{/user}","branches_url":"https://api.github.com/repos/gfyoung/numpy/branches{/branch}","tags_url":"https://api.github.com/repos/gfyoung/numpy/tags","blobs_url":"https://api.github.com/repos/gfyoung/numpy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gfyoung/numpy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gfyoung/numpy/git/refs{/sha}","trees_url":"https://api.github.com/repos/gfyoung/numpy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gfyoung/numpy/statuses/{sha}","languages_url":"https://api.github.com/repos/gfyoung/numpy/languages","stargazers_url":"https://api.github.com/repos/gfyoung/numpy/stargazers","contributors_url":"https://api.github.com/repos/gfyoung/numpy/contributors","subscribers_url":"https://api.github.com/repos/gfyoung/numpy/subscribers","subscription_url":"https://api.github.com/repos/gfyoung/numpy/subscription","commits_url":"https://api.github.com/repos/gfyoung/numpy/commits{/sha}","git_commits_url":"https://api.github.com/repos/gfyoung/numpy/git/commits{/sha}","comments_url":"https://api.github.com/repos/gfyoung/numpy/comments{/number}","issue_comment_url":"https://api.github.com/repos/gfyoung/numpy/issues/comments{/number}","contents_url":"https://api.github.com/repos/gfyoung/numpy/contents/{+path}","compare_url":"https://api.github.com/repos/gfyoung/numpy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gfyoung/numpy/merges","archive_url":"https://api.github.com/repos/gfyoung/numpy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gfyoung/numpy/downloads","issues_url":"https://api.github.com/repos/gfyoung/numpy/issues{/number}","pulls_url":"https://api.github.com/repos/gfyoung/numpy/pulls{/number}","milestones_url":"https://api.github.com/repos/gfyoung/numpy/milestones{/number}","notifications_url":"https://api.github.com/repos/gfyoung/numpy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gfyoung/numpy/labels{/name}","releases_url":"https://api.github.com/repos/gfyoung/numpy/releases{/id}","deployments_url":"https://api.github.com/repos/gfyoung/numpy/deployments","created_at":"2015-12-11T00:59:45Z","updated_at":"2016-01-11T23:36:36Z","pushed_at":"2016-06-06T23:08:53Z","git_url":"git://github.com/gfyoung/numpy.git","ssh_url":"git@github.com:gfyoung/numpy.git","clone_url":"https://github.com/gfyoung/numpy.git","svn_url":"https://github.com/gfyoung/numpy","homepage":"http://www.numpy.org/","size":42796,"stargazers_count":0,"watchers_count":0,"language":"C","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":"numpy:master","ref":"master","sha":"175476fec763984573e60485a447978cbcb381c0","user":{"login":"numpy","id":288276,"avatar_url":"https://avatars.githubusercontent.com/u/288276?v=3","gravatar_id":"","url":"https://api.github.com/users/numpy","html_url":"https://github.com/numpy","followers_url":"https://api.github.com/users/numpy/followers","following_url":"https://api.github.com/users/numpy/following{/other_user}","gists_url":"https://api.github.com/users/numpy/gists{/gist_id}","starred_url":"https://api.github.com/users/numpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numpy/subscriptions","organizations_url":"https://api.github.com/users/numpy/orgs","repos_url":"https://api.github.com/users/numpy/repos","events_url":"https://api.github.com/users/numpy/events{/privacy}","received_events_url":"https://api.github.com/users/numpy/received_events","type":"Organization","site_admin":false},"repo":{"id":908607,"name":"numpy","full_name":"numpy/numpy","owner":{"login":"numpy","id":288276,"avatar_url":"https://avatars.githubusercontent.com/u/288276?v=3","gravatar_id":"","url":"https://api.github.com/users/numpy","html_url":"https://github.com/numpy","followers_url":"https://api.github.com/users/numpy/followers","following_url":"https://api.github.com/users/numpy/following{/other_user}","gists_url":"https://api.github.com/users/numpy/gists{/gist_id}","starred_url":"https://api.github.com/users/numpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numpy/subscriptions","organizations_url":"https://api.github.com/users/numpy/orgs","repos_url":"https://api.github.com/users/numpy/repos","events_url":"https://api.github.com/users/numpy/events{/privacy}","received_events_url":"https://api.github.com/users/numpy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/numpy/numpy","description":"Numpy main repository","fork":false,"url":"https://api.github.com/repos/numpy/numpy","forks_url":"https://api.github.com/repos/numpy/numpy/forks","keys_url":"https://api.github.com/repos/numpy/numpy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/numpy/numpy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/numpy/numpy/teams","hooks_url":"https://api.github.com/repos/numpy/numpy/hooks","issue_events_url":"https://api.github.com/repos/numpy/numpy/issues/events{/number}","events_url":"https://api.github.com/repos/numpy/numpy/events","assignees_url":"https://api.github.com/repos/numpy/numpy/assignees{/user}","branches_url":"https://api.github.com/repos/numpy/numpy/branches{/branch}","tags_url":"https://api.github.com/repos/numpy/numpy/tags","blobs_url":"https://api.github.com/repos/numpy/numpy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/numpy/numpy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/numpy/numpy/git/refs{/sha}","trees_url":"https://api.github.com/repos/numpy/numpy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/numpy/numpy/statuses/{sha}","languages_url":"https://api.github.com/repos/numpy/numpy/languages","stargazers_url":"https://api.github.com/repos/numpy/numpy/stargazers","contributors_url":"https://api.github.com/repos/numpy/numpy/contributors","subscribers_url":"https://api.github.com/repos/numpy/numpy/subscribers","subscription_url":"https://api.github.com/repos/numpy/numpy/subscription","commits_url":"https://api.github.com/repos/numpy/numpy/commits{/sha}","git_commits_url":"https://api.github.com/repos/numpy/numpy/git/commits{/sha}","comments_url":"https://api.github.com/repos/numpy/numpy/comments{/number}","issue_comment_url":"https://api.github.com/repos/numpy/numpy/issues/comments{/number}","contents_url":"https://api.github.com/repos/numpy/numpy/contents/{+path}","compare_url":"https://api.github.com/repos/numpy/numpy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/numpy/numpy/merges","archive_url":"https://api.github.com/repos/numpy/numpy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/numpy/numpy/downloads","issues_url":"https://api.github.com/repos/numpy/numpy/issues{/number}","pulls_url":"https://api.github.com/repos/numpy/numpy/pulls{/number}","milestones_url":"https://api.github.com/repos/numpy/numpy/milestones{/number}","notifications_url":"https://api.github.com/repos/numpy/numpy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/numpy/numpy/labels{/name}","releases_url":"https://api.github.com/repos/numpy/numpy/releases{/id}","deployments_url":"https://api.github.com/repos/numpy/numpy/deployments","created_at":"2010-09-13T23:02:39Z","updated_at":"2016-06-07T07:13:40Z","pushed_at":"2016-06-07T02:43:32Z","git_url":"git://github.com/numpy/numpy.git","ssh_url":"git@github.com:numpy/numpy.git","clone_url":"https://github.com/numpy/numpy.git","svn_url":"https://github.com/numpy/numpy","homepage":"http://www.numpy.org/","size":79472,"stargazers_count":2996,"watchers_count":2996,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1545,"mirror_url":null,"open_issues_count":1211,"forks":1545,"open_issues":1211,"watchers":2996,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/numpy/numpy/pulls/6938"},"html":{"href":"https://github.com/numpy/numpy/pull/6938"},"issue":{"href":"https://api.github.com/repos/numpy/numpy/issues/6938"},"comments":{"href":"https://api.github.com/repos/numpy/numpy/issues/6938/comments"},"review_comments":{"href":"https://api.github.com/repos/numpy/numpy/pulls/6938/comments"},"review_comment":{"href":"https://api.github.com/repos/numpy/numpy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/numpy/numpy/pulls/6938/commits"},"statuses":{"href":"https://api.github.com/repos/numpy/numpy/statuses/9d356882b58f7065545132fc26dd0bd71745153f"}}}}
{"actor":{"display_login":"perimosocordiae"}}