{"action":"created","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/5719","labels_url":"https://api.github.com/repos/numpy/numpy/issues/5719/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/5719/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/5719/events","html_url":"https://github.com/numpy/numpy/issues/5719","id":64350287,"number":5719,"title":"segfault while casting rational dtype","user":{"login":"cowlicks","id":598099,"avatar_url":"https://avatars.githubusercontent.com/u/598099?v=3","gravatar_id":"","url":"https://api.github.com/users/cowlicks","html_url":"https://github.com/cowlicks","followers_url":"https://api.github.com/users/cowlicks/followers","following_url":"https://api.github.com/users/cowlicks/following{/other_user}","gists_url":"https://api.github.com/users/cowlicks/gists{/gist_id}","starred_url":"https://api.github.com/users/cowlicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cowlicks/subscriptions","organizations_url":"https://api.github.com/users/cowlicks/orgs","repos_url":"https://api.github.com/users/cowlicks/repos","events_url":"https://api.github.com/users/cowlicks/events{/privacy}","received_events_url":"https://api.github.com/users/cowlicks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/numpy/numpy/labels/Defect","name":"Defect","color":"444444"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-25T19:13:18Z","updated_at":"2015-03-28T21:36:10Z","closed_at":"2015-03-28T21:36:10Z","body":"On numpy master and numpy-types master.\r\n```python\r\nIn [1]: import numpy, npytypes.rational\r\n\r\nIn [2]: numpy.array([npytypes.rational.rational(1111)]).astype('int8')\r\n[1]    4639 segmentation fault  ipython\r\n```\r\nInstead, this should raise an overflow error.\r\n\r\nThis could possibly related to this [issue #3359](https://github.com/numpy/numpy/issues/3359)."},"comment":{"url":"https://api.github.com/repos/numpy/numpy/issues/comments/87316439","html_url":"https://github.com/numpy/numpy/issues/5719#issuecomment-87316439","issue_url":"https://api.github.com/repos/numpy/numpy/issues/5719","id":87316439,"user":{"login":"jaimefrio","id":3343990,"avatar_url":"https://avatars.githubusercontent.com/u/3343990?v=3","gravatar_id":"","url":"https://api.github.com/users/jaimefrio","html_url":"https://github.com/jaimefrio","followers_url":"https://api.github.com/users/jaimefrio/followers","following_url":"https://api.github.com/users/jaimefrio/following{/other_user}","gists_url":"https://api.github.com/users/jaimefrio/gists{/gist_id}","starred_url":"https://api.github.com/users/jaimefrio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaimefrio/subscriptions","organizations_url":"https://api.github.com/users/jaimefrio/orgs","repos_url":"https://api.github.com/users/jaimefrio/repos","events_url":"https://api.github.com/users/jaimefrio/events{/privacy}","received_events_url":"https://api.github.com/users/jaimefrio/received_events","type":"User","site_admin":false},"created_at":"2015-03-28T21:36:10Z","updated_at":"2015-03-28T21:36:10Z","body":"Clsed by #5724 "}}