On Thu, Dec 1, 2011 at 6:52 AM, Thouis (Ray) Jones <tho...@gmail.com> wrote:

> Is this expected behavior?
>
> >>> np.array([-345,4,2,'ABC'])
> array(['-34', '4', '2', 'ABC'], dtype='|S3')
>
>
>
Given that strings should be the result, this looks like a bug. It's a bit
of a corner case that probably slipped through during the recent work on
casting. There needs to be tests for these sorts of things, so if you find
more oddities post them so we can add them.

Chuck
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to