{"action":"created","comment":{"url":"https://api.github.com/repos/numpy/numpy/pulls/comments/49524208","id":49524208,"diff_hunk":"@@ -352,40 +356,41 @@ def test_bytes(self):\n         np.testing.assert_equal(actual, desired)\n \n     def test_shuffle(self):","path":"numpy/random/tests/test_random.py","position":44,"original_position":44,"commit_id":"dbb2e808cf831cd6f448e3dda4e296ffe211f6f7","original_commit_id":"da0288c2e6a302f41b980852e5b05088e69b7191","user":{"login":"matthew-brett","id":67612,"avatar_url":"https://avatars.githubusercontent.com/u/67612?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew-brett","html_url":"https://github.com/matthew-brett","followers_url":"https://api.github.com/users/matthew-brett/followers","following_url":"https://api.github.com/users/matthew-brett/following{/other_user}","gists_url":"https://api.github.com/users/matthew-brett/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-brett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-brett/subscriptions","organizations_url":"https://api.github.com/users/matthew-brett/orgs","repos_url":"https://api.github.com/users/matthew-brett/repos","events_url":"https://api.github.com/users/matthew-brett/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-brett/received_events","type":"User","site_admin":false},"body":"I'm not sure what you mean, but I think you'll find that non-generator tests will drop you into the errored test, and you can `u` you way to the enclosing test function to inspect the stack, but you can't do that with the `yield` test functions.","created_at":"2016-01-12T22:27:12Z","updated_at":"2016-01-12T22:27:12Z","html_url":"https://github.com/numpy/numpy/pull/6933#discussion_r49524208","pull_request_url":"https://api.github.com/repos/numpy/numpy/pulls/6933","_links":{"self":{"href":"https://api.github.com/repos/numpy/numpy/pulls/comments/49524208"},"html":{"href":"https://github.com/numpy/numpy/pull/6933#discussion_r49524208"},"pull_request":{"href":"https://api.github.com/repos/numpy/numpy/pulls/6933"}}},"pull_request":{"url":"https://api.github.com/repos/numpy/numpy/pulls/6933","id":54937406,"html_url":"https://github.com/numpy/numpy/pull/6933","diff_url":"https://github.com/numpy/numpy/pull/6933.diff","patch_url":"https://github.com/numpy/numpy/pull/6933.patch","issue_url":"https://api.github.com/repos/numpy/numpy/issues/6933","number":6933,"state":"open","locked":false,"title":"memcpy-based fast, typed shuffle.","user":{"login":"anntzer","id":1322974,"avatar_url":"https://avatars.githubusercontent.com/u/1322974?v=3","gravatar_id":"","url":"https://api.github.com/users/anntzer","html_url":"https://github.com/anntzer","followers_url":"https://api.github.com/users/anntzer/followers","following_url":"https://api.github.com/users/anntzer/following{/other_user}","gists_url":"https://api.github.com/users/anntzer/gists{/gist_id}","starred_url":"https://api.github.com/users/anntzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anntzer/subscriptions","organizations_url":"https://api.github.com/users/anntzer/orgs","repos_url":"https://api.github.com/users/anntzer/repos","events_url":"https://api.github.com/users/anntzer/events{/privacy}","received_events_url":"https://api.github.com/users/anntzer/received_events","type":"User","site_admin":false},"body":"Only for ndarrays exactly, as subtypes (e.g. masked arrays) may not\r\nlike directly shuffling the underlying buffer (in fact, the old\r\nimplementation destroyed the underlying values of masked arrays while\r\nshuffling).\r\n\r\nAlso handles struct-containing-object 1d ndarrays properly.\r\n\r\nSee #6776 for an earlier, less general (but even faster: ~6x)\r\nimprovement attempt, #5514 for the original issue.","created_at":"2016-01-04T01:35:14Z","updated_at":"2016-01-12T22:27:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ad601fd3b18c3714caee75582690230c48f2fdc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/numpy/numpy/pulls/6933/commits","review_comments_url":"https://api.github.com/repos/numpy/numpy/pulls/6933/comments","review_comment_url":"https://api.github.com/repos/numpy/numpy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/6933/comments","statuses_url":"https://api.github.com/repos/numpy/numpy/statuses/dbb2e808cf831cd6f448e3dda4e296ffe211f6f7","head":{"label":"anntzer:fastshuffle-memcpy","ref":"fastshuffle-memcpy","sha":"dbb2e808cf831cd6f448e3dda4e296ffe211f6f7","user":{"login":"anntzer","id":1322974,"avatar_url":"https://avatars.githubusercontent.com/u/1322974?v=3","gravatar_id":"","url":"https://api.github.com/users/anntzer","html_url":"https://github.com/anntzer","followers_url":"https://api.github.com/users/anntzer/followers","following_url":"https://api.github.com/users/anntzer/following{/other_user}","gists_url":"https://api.github.com/users/anntzer/gists{/gist_id}","starred_url":"https://api.github.com/users/anntzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anntzer/subscriptions","organizations_url":"https://api.github.com/users/anntzer/orgs","repos_url":"https://api.github.com/users/anntzer/repos","events_url":"https://api.github.com/users/anntzer/events{/privacy}","received_events_url":"https://api.github.com/users/anntzer/received_events","type":"User","site_admin":false},"repo":{"id":34845974,"name":"numpy","full_name":"anntzer/numpy","owner":{"login":"anntzer","id":1322974,"avatar_url":"https://avatars.githubusercontent.com/u/1322974?v=3","gravatar_id":"","url":"https://api.github.com/users/anntzer","html_url":"https://github.com/anntzer","followers_url":"https://api.github.com/users/anntzer/followers","following_url":"https://api.github.com/users/anntzer/following{/other_user}","gists_url":"https://api.github.com/users/anntzer/gists{/gist_id}","starred_url":"https://api.github.com/users/anntzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anntzer/subscriptions","organizations_url":"https://api.github.com/users/anntzer/orgs","repos_url":"https://api.github.com/users/anntzer/repos","events_url":"https://api.github.com/users/anntzer/events{/privacy}","received_events_url":"https://api.github.com/users/anntzer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anntzer/numpy","description":"Numpy main repository","fork":true,"url":"https://api.github.com/repos/anntzer/numpy","forks_url":"https://api.github.com/repos/anntzer/numpy/forks","keys_url":"https://api.github.com/repos/anntzer/numpy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anntzer/numpy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anntzer/numpy/teams","hooks_url":"https://api.github.com/repos/anntzer/numpy/hooks","issue_events_url":"https://api.github.com/repos/anntzer/numpy/issues/events{/number}","events_url":"https://api.github.com/repos/anntzer/numpy/events","assignees_url":"https://api.github.com/repos/anntzer/numpy/assignees{/user}","branches_url":"https://api.github.com/repos/anntzer/numpy/branches{/branch}","tags_url":"https://api.github.com/repos/anntzer/numpy/tags","blobs_url":"https://api.github.com/repos/anntzer/numpy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anntzer/numpy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anntzer/numpy/git/refs{/sha}","trees_url":"https://api.github.com/repos/anntzer/numpy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anntzer/numpy/statuses/{sha}","languages_url":"https://api.github.com/repos/anntzer/numpy/languages","stargazers_url":"https://api.github.com/repos/anntzer/numpy/stargazers","contributors_url":"https://api.github.com/repos/anntzer/numpy/contributors","subscribers_url":"https://api.github.com/repos/anntzer/numpy/subscribers","subscription_url":"https://api.github.com/repos/anntzer/numpy/subscription","commits_url":"https://api.github.com/repos/anntzer/numpy/commits{/sha}","git_commits_url":"https://api.github.com/repos/anntzer/numpy/git/commits{/sha}","comments_url":"https://api.github.com/repos/anntzer/numpy/comments{/number}","issue_comment_url":"https://api.github.com/repos/anntzer/numpy/issues/comments{/number}","contents_url":"https://api.github.com/repos/anntzer/numpy/contents/{+path}","compare_url":"https://api.github.com/repos/anntzer/numpy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anntzer/numpy/merges","archive_url":"https://api.github.com/repos/anntzer/numpy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anntzer/numpy/downloads","issues_url":"https://api.github.com/repos/anntzer/numpy/issues{/number}","pulls_url":"https://api.github.com/repos/anntzer/numpy/pulls{/number}","milestones_url":"https://api.github.com/repos/anntzer/numpy/milestones{/number}","notifications_url":"https://api.github.com/repos/anntzer/numpy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anntzer/numpy/labels{/name}","releases_url":"https://api.github.com/repos/anntzer/numpy/releases{/id}","created_at":"2015-04-30T09:23:24Z","updated_at":"2015-05-02T23:10:07Z","pushed_at":"2016-01-12T18:35:27Z","git_url":"git://github.com/anntzer/numpy.git","ssh_url":"git@github.com:anntzer/numpy.git","clone_url":"https://github.com/anntzer/numpy.git","svn_url":"https://github.com/anntzer/numpy","homepage":"http://www.numpy.org/","size":42340,"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":"2df298d9ac469ec60a29373ea60cd17e0c4fd970","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}","created_at":"2010-09-13T23:02:39Z","updated_at":"2016-01-12T22:02:15Z","pushed_at":"2016-01-12T22:21:34Z","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":63541,"stargazers_count":2495,"watchers_count":2495,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1318,"mirror_url":null,"open_issues_count":1086,"forks":1318,"open_issues":1086,"watchers":2495,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/numpy/numpy/pulls/6933"},"html":{"href":"https://github.com/numpy/numpy/pull/6933"},"issue":{"href":"https://api.github.com/repos/numpy/numpy/issues/6933"},"comments":{"href":"https://api.github.com/repos/numpy/numpy/issues/6933/comments"},"review_comments":{"href":"https://api.github.com/repos/numpy/numpy/pulls/6933/comments"},"review_comment":{"href":"https://api.github.com/repos/numpy/numpy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/numpy/numpy/pulls/6933/commits"},"statuses":{"href":"https://api.github.com/repos/numpy/numpy/statuses/dbb2e808cf831cd6f448e3dda4e296ffe211f6f7"}}}}