numpy/numpy — pull request #3006 by seberg (2013-02-20 14:13:27+00:00)
Title: BUG: Fix regression of bad error/random behavior in item method

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.

--

Trivial fix, should be backported to 1.7.