numpy/numpy — pull request #4377 by jayvius (2014-02-27 00:32:45+00:00)
Title: Fix stride_stricks.as_strided function for object arrays

Currently, calling as_strided for object array results in 'TypeError: Cannot change data-type for object array.'. Fix so that dtype of new array is only set for void dtype, as originally intended.

Also add a few tests for as_strided function.