{"action":"created","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/5945","labels_url":"https://api.github.com/repos/numpy/numpy/issues/5945/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/5945/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/5945/events","html_url":"https://github.com/numpy/numpy/issues/5945","id":85716131,"number":5945,"title":"Warning message for one function is used by several, and contains extraneous information","user":{"login":"holdenweb","id":105312,"avatar_url":"https://avatars.githubusercontent.com/u/105312?v=3","gravatar_id":"","url":"https://api.github.com/users/holdenweb","html_url":"https://github.com/holdenweb","followers_url":"https://api.github.com/users/holdenweb/followers","following_url":"https://api.github.com/users/holdenweb/following{/other_user}","gists_url":"https://api.github.com/users/holdenweb/gists{/gist_id}","starred_url":"https://api.github.com/users/holdenweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holdenweb/subscriptions","organizations_url":"https://api.github.com/users/holdenweb/orgs","repos_url":"https://api.github.com/users/holdenweb/repos","events_url":"https://api.github.com/users/holdenweb/events{/privacy}","received_events_url":"https://api.github.com/users/holdenweb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/numpy/numpy/labels/Easy%20Fix","name":"Easy Fix","color":"02e10c"},{"url":"https://api.github.com/repos/numpy/numpy/labels/Task","name":"Task","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-06T07:20:04Z","updated_at":"2015-10-06T18:18:46Z","closed_at":null,"body":"In [this Stackoverflow question](http://stackoverflow.com/questions/30679192/how-to-remove-multiple-values-from-an-array-at-once/) the inquirer points out the following discrepancy in an error message:\r\n\r\n    In [5]: np.delete(x, x == a)\r\n    /usr/lib/python2.7/dist-packages/numpy/lib/function_base.py:3254: FutureWarning: in the future insert will treat boolean arrays and array-likes as boolean index instead of casting it to integer\r\n      \"of casting it to integer\", FutureWarning)\r\n\r\nSince the warning is produced by a call to `delete()` it would be better if the message didn't refer to a specific function.\r\n\r\nAlso, why does the string ` \"of casting it to integer\"` appear at the end of the warning message?"},"comment":{"url":"https://api.github.com/repos/numpy/numpy/issues/comments/145952477","html_url":"https://github.com/numpy/numpy/issues/5945#issuecomment-145952477","issue_url":"https://api.github.com/repos/numpy/numpy/issues/5945","id":145952477,"user":{"login":"sumitbinnani","id":11199045,"avatar_url":"https://avatars.githubusercontent.com/u/11199045?v=3","gravatar_id":"","url":"https://api.github.com/users/sumitbinnani","html_url":"https://github.com/sumitbinnani","followers_url":"https://api.github.com/users/sumitbinnani/followers","following_url":"https://api.github.com/users/sumitbinnani/following{/other_user}","gists_url":"https://api.github.com/users/sumitbinnani/gists{/gist_id}","starred_url":"https://api.github.com/users/sumitbinnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumitbinnani/subscriptions","organizations_url":"https://api.github.com/users/sumitbinnani/orgs","repos_url":"https://api.github.com/users/sumitbinnani/repos","events_url":"https://api.github.com/users/sumitbinnani/events{/privacy}","received_events_url":"https://api.github.com/users/sumitbinnani/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T18:18:46Z","updated_at":"2015-10-06T18:18:46Z","body":"@njsmith @seberg \r\nIs anyone working on this? If not I would be happy to contribute :-)"}}