numpy/numpy — pull request #2697 by seberg (2012-10-23 11:22:14+00:00)
Title: BUG: Avoid regression in np.insert for axis!=0 or None

This avoids a regression with insert failing where it worked before when inserting a full array with a scalar and axis!=0. See also Issue #378 and #452. There is a larger explanation in #378.

I really think that introducing this regression should probably be avoided. A more extensive (compatible) change for development branch in #452. This is a minimal change to make `np.insert` in 1.7. compatible with 1.6.