{"action":"created","comment":{"url":"https://api.github.com/repos/scipy/scipy/pulls/comments/86544804","pull_request_review_id":7199362,"id":86544804,"diff_hunk":"@@ -618,6 +618,7 @@\n    round   -- Round to nearest integer\n    xlogy   -- Compute ``x*log(y)`` so that the result is 0 if ``x = 0``.\n    xlog1py -- Compute ``x*log1p(y)`` so that the result is 0 if ``x = 0``.\n+   logsumexp  -- Compute the log of the sum of exponentials of input elements.","path":"scipy/special/__init__.py","position":4,"original_position":4,"commit_id":"c3e6a4d8eaa1c30c83ef064ff37228b12e265a97","original_commit_id":"c3e6a4d8eaa1c30c83ef064ff37228b12e265a97","user":{"login":"ev-br","id":2133832,"avatar_url":"https://avatars.githubusercontent.com/u/2133832?v=3","gravatar_id":"","url":"https://api.github.com/users/ev-br","html_url":"https://github.com/ev-br","followers_url":"https://api.github.com/users/ev-br/followers","following_url":"https://api.github.com/users/ev-br/following{/other_user}","gists_url":"https://api.github.com/users/ev-br/gists{/gist_id}","starred_url":"https://api.github.com/users/ev-br/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ev-br/subscriptions","organizations_url":"https://api.github.com/users/ev-br/orgs","repos_url":"https://api.github.com/users/ev-br/repos","events_url":"https://api.github.com/users/ev-br/events{/privacy}","received_events_url":"https://api.github.com/users/ev-br/received_events","type":"User","site_admin":false},"body":"No:\r\n\r\n```\r\n(scipy_py27)br@duneyrr:~/repos/scipy/tools$ python -c'from scipy.special import roots_legendre'\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\nImportError: cannot import name roots_legendre \r\n```\r\n\r\nBut:\r\n\r\n```\r\n$ python runtests.py --ipython\r\nBuilding, see build.log...\r\nBuild OK\r\nPython 2.7.11 (default, Dec 14 2015, 22:56:59) \r\nType \"copyright\", \"credits\" or \"license\" for more information.\r\n\r\nIPython 4.1.2 -- An enhanced Interactive Python.\r\n?         -> Introduction and overview of IPython's features.\r\n%quickref -> Quick reference.\r\nhelp      -> Python's own help system.\r\nobject?   -> Details about 'object', use 'object??' for extra details.\r\n\r\nIn [1]: from scipy.special import roots_legendre\r\n\r\nIn [2]: roots_legendre?\r\nSignature: roots_legendre(n, mu=False)\r\n<snip>\r\n```","created_at":"2016-11-04T13:31:23Z","updated_at":"2016-11-04T13:31:23Z","html_url":"https://github.com/scipy/scipy/pull/6759#discussion_r86544804","pull_request_url":"https://api.github.com/repos/scipy/scipy/pulls/6759","_links":{"self":{"href":"https://api.github.com/repos/scipy/scipy/pulls/comments/86544804"},"html":{"href":"https://github.com/scipy/scipy/pull/6759#discussion_r86544804"},"pull_request":{"href":"https://api.github.com/repos/scipy/scipy/pulls/6759"}}},"pull_request":{"url":"https://api.github.com/repos/scipy/scipy/pulls/6759","id":92330834,"html_url":"https://github.com/scipy/scipy/pull/6759","diff_url":"https://github.com/scipy/scipy/pull/6759.diff","patch_url":"https://github.com/scipy/scipy/pull/6759.patch","issue_url":"https://api.github.com/repos/scipy/scipy/issues/6759","number":6759,"state":"open","locked":false,"title":"Move logsumexp from scipy.misc to scipy.special","user":{"login":"ev-br","id":2133832,"avatar_url":"https://avatars.githubusercontent.com/u/2133832?v=3","gravatar_id":"","url":"https://api.github.com/users/ev-br","html_url":"https://github.com/ev-br","followers_url":"https://api.github.com/users/ev-br/followers","following_url":"https://api.github.com/users/ev-br/following{/other_user}","gists_url":"https://api.github.com/users/ev-br/gists{/gist_id}","starred_url":"https://api.github.com/users/ev-br/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ev-br/subscriptions","organizations_url":"https://api.github.com/users/ev-br/orgs","repos_url":"https://api.github.com/users/ev-br/repos","events_url":"https://api.github.com/users/ev-br/events{/privacy}","received_events_url":"https://api.github.com/users/ev-br/received_events","type":"User","site_admin":false},"body":"This is supposed to tick a box in the roadmap:\r\n\r\n> scipy.misc will be removed as a public module. The functions in it can be moved to other modules:\r\n> ...\r\n> comb, factorial, logsumexp, pade : special\r\n\r\n `comb` and `factorial` have already been moved, this PR also moves `logsumexp`. \r\n\r\nOne open question is whether `from scipy.misc import factorial, comb, logsumexp` should issue a DeprecationWarning pointing to their new location in `scipy.special`. At the moment, none of these does. If we want to actually remove `scipy.misc`, they probably should. ","created_at":"2016-11-04T12:25:23Z","updated_at":"2016-11-04T13:31:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a954d15d28420cb60a994c89f6defe6f22a2ed8c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/scipy/scipy/pulls/6759/commits","review_comments_url":"https://api.github.com/repos/scipy/scipy/pulls/6759/comments","review_comment_url":"https://api.github.com/repos/scipy/scipy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/6759/comments","statuses_url":"https://api.github.com/repos/scipy/scipy/statuses/c3e6a4d8eaa1c30c83ef064ff37228b12e265a97","head":{"label":"ev-br:move_logsumexp","ref":"move_logsumexp","sha":"c3e6a4d8eaa1c30c83ef064ff37228b12e265a97","user":{"login":"ev-br","id":2133832,"avatar_url":"https://avatars.githubusercontent.com/u/2133832?v=3","gravatar_id":"","url":"https://api.github.com/users/ev-br","html_url":"https://github.com/ev-br","followers_url":"https://api.github.com/users/ev-br/followers","following_url":"https://api.github.com/users/ev-br/following{/other_user}","gists_url":"https://api.github.com/users/ev-br/gists{/gist_id}","starred_url":"https://api.github.com/users/ev-br/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ev-br/subscriptions","organizations_url":"https://api.github.com/users/ev-br/orgs","repos_url":"https://api.github.com/users/ev-br/repos","events_url":"https://api.github.com/users/ev-br/events{/privacy}","received_events_url":"https://api.github.com/users/ev-br/received_events","type":"User","site_admin":false},"repo":{"id":10013462,"name":"scipy","full_name":"ev-br/scipy","owner":{"login":"ev-br","id":2133832,"avatar_url":"https://avatars.githubusercontent.com/u/2133832?v=3","gravatar_id":"","url":"https://api.github.com/users/ev-br","html_url":"https://github.com/ev-br","followers_url":"https://api.github.com/users/ev-br/followers","following_url":"https://api.github.com/users/ev-br/following{/other_user}","gists_url":"https://api.github.com/users/ev-br/gists{/gist_id}","starred_url":"https://api.github.com/users/ev-br/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ev-br/subscriptions","organizations_url":"https://api.github.com/users/ev-br/orgs","repos_url":"https://api.github.com/users/ev-br/repos","events_url":"https://api.github.com/users/ev-br/events{/privacy}","received_events_url":"https://api.github.com/users/ev-br/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ev-br/scipy","description":"Scipy main repository","fork":true,"url":"https://api.github.com/repos/ev-br/scipy","forks_url":"https://api.github.com/repos/ev-br/scipy/forks","keys_url":"https://api.github.com/repos/ev-br/scipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ev-br/scipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ev-br/scipy/teams","hooks_url":"https://api.github.com/repos/ev-br/scipy/hooks","issue_events_url":"https://api.github.com/repos/ev-br/scipy/issues/events{/number}","events_url":"https://api.github.com/repos/ev-br/scipy/events","assignees_url":"https://api.github.com/repos/ev-br/scipy/assignees{/user}","branches_url":"https://api.github.com/repos/ev-br/scipy/branches{/branch}","tags_url":"https://api.github.com/repos/ev-br/scipy/tags","blobs_url":"https://api.github.com/repos/ev-br/scipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ev-br/scipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ev-br/scipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/ev-br/scipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ev-br/scipy/statuses/{sha}","languages_url":"https://api.github.com/repos/ev-br/scipy/languages","stargazers_url":"https://api.github.com/repos/ev-br/scipy/stargazers","contributors_url":"https://api.github.com/repos/ev-br/scipy/contributors","subscribers_url":"https://api.github.com/repos/ev-br/scipy/subscribers","subscription_url":"https://api.github.com/repos/ev-br/scipy/subscription","commits_url":"https://api.github.com/repos/ev-br/scipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/ev-br/scipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/ev-br/scipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/ev-br/scipy/issues/comments{/number}","contents_url":"https://api.github.com/repos/ev-br/scipy/contents/{+path}","compare_url":"https://api.github.com/repos/ev-br/scipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ev-br/scipy/merges","archive_url":"https://api.github.com/repos/ev-br/scipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ev-br/scipy/downloads","issues_url":"https://api.github.com/repos/ev-br/scipy/issues{/number}","pulls_url":"https://api.github.com/repos/ev-br/scipy/pulls{/number}","milestones_url":"https://api.github.com/repos/ev-br/scipy/milestones{/number}","notifications_url":"https://api.github.com/repos/ev-br/scipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ev-br/scipy/labels{/name}","releases_url":"https://api.github.com/repos/ev-br/scipy/releases{/id}","deployments_url":"https://api.github.com/repos/ev-br/scipy/deployments","created_at":"2013-05-12T12:46:29Z","updated_at":"2015-01-24T14:40:00Z","pushed_at":"2016-11-03T20:03:34Z","git_url":"git://github.com/ev-br/scipy.git","ssh_url":"git@github.com:ev-br/scipy.git","clone_url":"https://github.com/ev-br/scipy.git","svn_url":"https://github.com/ev-br/scipy","homepage":"http://scipy.org/","size":70429,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"scipy:master","ref":"master","sha":"e8c027d3f87c08b0b8bab0a068ac1a4abbef5684","user":{"login":"scipy","id":288277,"avatar_url":"https://avatars.githubusercontent.com/u/288277?v=3","gravatar_id":"","url":"https://api.github.com/users/scipy","html_url":"https://github.com/scipy","followers_url":"https://api.github.com/users/scipy/followers","following_url":"https://api.github.com/users/scipy/following{/other_user}","gists_url":"https://api.github.com/users/scipy/gists{/gist_id}","starred_url":"https://api.github.com/users/scipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scipy/subscriptions","organizations_url":"https://api.github.com/users/scipy/orgs","repos_url":"https://api.github.com/users/scipy/repos","events_url":"https://api.github.com/users/scipy/events{/privacy}","received_events_url":"https://api.github.com/users/scipy/received_events","type":"Organization","site_admin":false},"repo":{"id":1460385,"name":"scipy","full_name":"scipy/scipy","owner":{"login":"scipy","id":288277,"avatar_url":"https://avatars.githubusercontent.com/u/288277?v=3","gravatar_id":"","url":"https://api.github.com/users/scipy","html_url":"https://github.com/scipy","followers_url":"https://api.github.com/users/scipy/followers","following_url":"https://api.github.com/users/scipy/following{/other_user}","gists_url":"https://api.github.com/users/scipy/gists{/gist_id}","starred_url":"https://api.github.com/users/scipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scipy/subscriptions","organizations_url":"https://api.github.com/users/scipy/orgs","repos_url":"https://api.github.com/users/scipy/repos","events_url":"https://api.github.com/users/scipy/events{/privacy}","received_events_url":"https://api.github.com/users/scipy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scipy/scipy","description":"Scipy library main repository","fork":false,"url":"https://api.github.com/repos/scipy/scipy","forks_url":"https://api.github.com/repos/scipy/scipy/forks","keys_url":"https://api.github.com/repos/scipy/scipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scipy/scipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scipy/scipy/teams","hooks_url":"https://api.github.com/repos/scipy/scipy/hooks","issue_events_url":"https://api.github.com/repos/scipy/scipy/issues/events{/number}","events_url":"https://api.github.com/repos/scipy/scipy/events","assignees_url":"https://api.github.com/repos/scipy/scipy/assignees{/user}","branches_url":"https://api.github.com/repos/scipy/scipy/branches{/branch}","tags_url":"https://api.github.com/repos/scipy/scipy/tags","blobs_url":"https://api.github.com/repos/scipy/scipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scipy/scipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scipy/scipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/scipy/scipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scipy/scipy/statuses/{sha}","languages_url":"https://api.github.com/repos/scipy/scipy/languages","stargazers_url":"https://api.github.com/repos/scipy/scipy/stargazers","contributors_url":"https://api.github.com/repos/scipy/scipy/contributors","subscribers_url":"https://api.github.com/repos/scipy/scipy/subscribers","subscription_url":"https://api.github.com/repos/scipy/scipy/subscription","commits_url":"https://api.github.com/repos/scipy/scipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/scipy/scipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/scipy/scipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/scipy/scipy/issues/comments{/number}","contents_url":"https://api.github.com/repos/scipy/scipy/contents/{+path}","compare_url":"https://api.github.com/repos/scipy/scipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scipy/scipy/merges","archive_url":"https://api.github.com/repos/scipy/scipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scipy/scipy/downloads","issues_url":"https://api.github.com/repos/scipy/scipy/issues{/number}","pulls_url":"https://api.github.com/repos/scipy/scipy/pulls{/number}","milestones_url":"https://api.github.com/repos/scipy/scipy/milestones{/number}","notifications_url":"https://api.github.com/repos/scipy/scipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scipy/scipy/labels{/name}","releases_url":"https://api.github.com/repos/scipy/scipy/releases{/id}","deployments_url":"https://api.github.com/repos/scipy/scipy/deployments","created_at":"2011-03-09T18:52:03Z","updated_at":"2016-11-03T12:40:40Z","pushed_at":"2016-11-04T12:25:23Z","git_url":"git://github.com/scipy/scipy.git","ssh_url":"git@github.com:scipy/scipy.git","clone_url":"https://github.com/scipy/scipy.git","svn_url":"https://github.com/scipy/scipy","homepage":"http://scipy.org/scipylib/","size":79885,"stargazers_count":2678,"watchers_count":2678,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1559,"mirror_url":null,"open_issues_count":920,"forks":1559,"open_issues":920,"watchers":2678,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scipy/scipy/pulls/6759"},"html":{"href":"https://github.com/scipy/scipy/pull/6759"},"issue":{"href":"https://api.github.com/repos/scipy/scipy/issues/6759"},"comments":{"href":"https://api.github.com/repos/scipy/scipy/issues/6759/comments"},"review_comments":{"href":"https://api.github.com/repos/scipy/scipy/pulls/6759/comments"},"review_comment":{"href":"https://api.github.com/repos/scipy/scipy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scipy/scipy/pulls/6759/commits"},"statuses":{"href":"https://api.github.com/repos/scipy/scipy/statuses/c3e6a4d8eaa1c30c83ef064ff37228b12e265a97"}}}}
{"actor":{"display_login":"ev-br"}}