{"action":"created","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/7666","repository_url":"https://api.github.com/repos/numpy/numpy","labels_url":"https://api.github.com/repos/numpy/numpy/issues/7666/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/7666/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/7666/events","html_url":"https://github.com/numpy/numpy/issues/7666","id":156440030,"number":7666,"title":"Assigning large object array to bool-specified slice of float array crashes Python","user":{"login":"acdr000","id":19547453,"avatar_url":"https://avatars.githubusercontent.com/u/19547453?v=3","gravatar_id":"","url":"https://api.github.com/users/acdr000","html_url":"https://github.com/acdr000","followers_url":"https://api.github.com/users/acdr000/followers","following_url":"https://api.github.com/users/acdr000/following{/other_user}","gists_url":"https://api.github.com/users/acdr000/gists{/gist_id}","starred_url":"https://api.github.com/users/acdr000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acdr000/subscriptions","organizations_url":"https://api.github.com/users/acdr000/orgs","repos_url":"https://api.github.com/users/acdr000/repos","events_url":"https://api.github.com/users/acdr000/events{/privacy}","received_events_url":"https://api.github.com/users/acdr000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-24T07:42:51Z","updated_at":"2016-05-24T10:25:18Z","closed_at":null,"body":"Running Python 2.7.10, numpy 1.9.2, Windows 7, 64-bit AMD processor.\r\nI'll let code do the talking:\r\n```\r\nPython 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)] on win32\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import numpy as np\r\n>>> f_arr = np.zeros((1000,))\r\n>>> o_arr = np.ones((100,), dtype=object)\r\n>>> b_arr = np.zeros((1000,), dtype=bool)\r\n>>> b_arr[:100] = True\r\n>>> f_arr[b_arr] = o_arr\r\n```\r\n\r\nThis last line is supposed to set the first 100 elements of f_arr to 1. Instead, it crashes Python. This does not crash for significantly smaller arrays. I unfortunately cannot debug the underlying numpy code."},"comment":{"url":"https://api.github.com/repos/numpy/numpy/issues/comments/221228324","html_url":"https://github.com/numpy/numpy/issues/7666#issuecomment-221228324","issue_url":"https://api.github.com/repos/numpy/numpy/issues/7666","id":221228324,"user":{"login":"seberg","id":61977,"avatar_url":"https://avatars.githubusercontent.com/u/61977?v=3","gravatar_id":"","url":"https://api.github.com/users/seberg","html_url":"https://github.com/seberg","followers_url":"https://api.github.com/users/seberg/followers","following_url":"https://api.github.com/users/seberg/following{/other_user}","gists_url":"https://api.github.com/users/seberg/gists{/gist_id}","starred_url":"https://api.github.com/users/seberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seberg/subscriptions","organizations_url":"https://api.github.com/users/seberg/orgs","repos_url":"https://api.github.com/users/seberg/repos","events_url":"https://api.github.com/users/seberg/events{/privacy}","received_events_url":"https://api.github.com/users/seberg/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T10:25:18Z","updated_at":"2016-05-24T10:25:18Z","body":"Found the bug, simple thing of the iterator not needing api, but the transfer function needing it."}}
{"actor":{"display_login":"seberg"}}