numpy/numpy — pull request #173 by thouis (2011-12-05 09:36:33+00:00)
Title: dd a test for data truncation when creating array from sequence of mixed numeric and string values 

This commit adds a not-yet-resolved regression test for bug #1990. test_regression.py seemed like the most likely test suite to put the test into, as the bug was not present 1.5.1 (see post on numpy-discussion from Pierre Haesig)/.

The test is written such that either of the following fixes would cause the test to pass:
- mixed strings & numerics produce a dtype=object array.
- numerics are used to calculate the required string length during array creation.

(for some reason, github won't let me specify the maintenance/1.6.x branch by name. I've filed it against the current 1.6.x hash.)