[Numpy-svn] [numpy/numpy] 32a4a7: BUG: Fix ticket #2081.

GitHub noreply@github....
Sat Mar 17 18:48:27 CDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 32a4a7d282c4cdbbfdf09ff10345e05ccec58919
      https://github.com/numpy/numpy/commit/32a4a7d282c4cdbbfdf09ff10345e05ccec58919
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2012-03-17 (Sat, 17 Mar 2012)

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

  Log Message:
  -----------
  BUG: Fix ticket #2081.

Need to double the return value of PyUnicode_GetSize when computing
the elsize of unicode strings if python is compiled with 2 byte unicode.





More information about the Numpy-svn mailing list