{"action":"created","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/5424","labels_url":"https://api.github.com/repos/numpy/numpy/issues/5424/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/5424/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/5424/events","html_url":"https://github.com/numpy/numpy/issues/5424","id":53437419,"number":5424,"title":"ma.median: cannot perform reduce with flexible type","user":{"login":"dieterv77","id":453086,"avatar_url":"https://avatars.githubusercontent.com/u/453086?v=3","gravatar_id":"","url":"https://api.github.com/users/dieterv77","html_url":"https://github.com/dieterv77","followers_url":"https://api.github.com/users/dieterv77/followers","following_url":"https://api.github.com/users/dieterv77/following{/other_user}","gists_url":"https://api.github.com/users/dieterv77/gists{/gist_id}","starred_url":"https://api.github.com/users/dieterv77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieterv77/subscriptions","organizations_url":"https://api.github.com/users/dieterv77/orgs","repos_url":"https://api.github.com/users/dieterv77/repos","events_url":"https://api.github.com/users/dieterv77/events{/privacy}","received_events_url":"https://api.github.com/users/dieterv77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-05T20:05:28Z","updated_at":"2015-01-06T01:35:25Z","closed_at":null,"body":"Consider the following snippet:\r\n```python\r\nimport numpy as np\r\nimport numpy.ma as ma\r\n\r\nx = np.zeros((10,))\r\nma.median(x, axis=None)\r\n```\r\n\r\nThe last line throws a\r\n```python\r\nTypeError: cannot perform reduce with flexible type\r\n```\r\nusing version 1.9.1, but works with versions prior to 1.9.0 (i didn't try 1.9.0).  Is this expected behavior?\r\n\r\nMany thanks"},"comment":{"url":"https://api.github.com/repos/numpy/numpy/issues/comments/68813430","html_url":"https://github.com/numpy/numpy/issues/5424#issuecomment-68813430","issue_url":"https://api.github.com/repos/numpy/numpy/issues/5424","id":68813430,"user":{"login":"dieterv77","id":453086,"avatar_url":"https://avatars.githubusercontent.com/u/453086?v=3","gravatar_id":"","url":"https://api.github.com/users/dieterv77","html_url":"https://github.com/dieterv77","followers_url":"https://api.github.com/users/dieterv77/followers","following_url":"https://api.github.com/users/dieterv77/following{/other_user}","gists_url":"https://api.github.com/users/dieterv77/gists{/gist_id}","starred_url":"https://api.github.com/users/dieterv77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dieterv77/subscriptions","organizations_url":"https://api.github.com/users/dieterv77/orgs","repos_url":"https://api.github.com/users/dieterv77/repos","events_url":"https://api.github.com/users/dieterv77/events{/privacy}","received_events_url":"https://api.github.com/users/dieterv77/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T01:35:25Z","updated_at":"2015-01-06T01:35:25Z","body":"Strangely enough, when I do a clean install of 1.9.1 on a machine running Ubuntu 12.04, i continue to have the same problem.  However, i tested a clean install of 1.9.1 on Ubuntu 14.10 and did not encounter the error.\r\n\r\nJust to verify that the install process on 12.04 was working OK, i did a clean install of 1.8.1 on Ubuntu 12.04, and then my problem went away.\r\n\r\n"}}