numpy/numpy — pull request #3007 by seberg (2013-02-20 15:21:40+00:00)
Title: Backport gh-3006

Appearently .item() for arrays with size != 1 correctly returned an error
in 1.6., but failed to raise the error (due to missing return) in 1.7.

--

gh-3006 backport