[Numpy-svn] [numpy/numpy] 91f87e: BUG: Fix ticket #1990.

GitHub noreply@github....
Sat Mar 3 15:30:22 CST 2012

  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 91f87e1f613630ff0ad9864017f059afcd6e57f1
  Author: Bryan Van de Ven <bryan@Laptop-3.local>
  Date:   2012-03-03 (Sat, 03 Mar 2012)

  Changed paths:
    M numpy/compat/py3k.py
  M numpy/core/src/multiarray/common.c
  M numpy/core/src/multiarray/common.h
  M numpy/core/tests/test_regression.py

  Log Message:
  BUG: Fix ticket #1990.

When an array is created from a sequence of numeric (boolean, int, float,
complex) and string (bytes, str, unicode) values, the resulting array type
is string, but only the string values were being used to choose the string
length, leading to truncation of data.

More information about the Numpy-svn mailing list