numpy/numpy — pull request #5133 by liufei11111 (2014-09-27 20:34:32+00:00)
Title: Fixes: np.asscalar should pass through scalars #4701

np.asscalar should pass through scalars #4701
We handle the problem by use array().item() so that we make sure that item() exists