[Numpy-svn] [numpy/numpy] b89315: BUG: Fix issue with PR #3491

GitHub noreply@github....
Thu Sep 19 14:24:48 CDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: b893154ddc4460e5366b00172788edf128a1a266
      https://github.com/numpy/numpy/commit/b893154ddc4460e5366b00172788edf128a1a266
  Author: Jay Bourque <jay.bourque@continuum.io>
  Date:   2013-09-19 (Thu, 19 Sep 2013)

  Changed paths:
    M numpy/core/src/multiarray/ctors.c
    M numpy/core/tests/test_api.py

  Log Message:
  -----------
  BUG: Fix issue with PR #3491

Don't convert unicode string to ascii string before getting byte length.
Also, get length of non string type as ascii or unicode depending on
output string type.


  Commit: df1456175af456d3e0238c81fe8d4cb08025c529
      https://github.com/numpy/numpy/commit/df1456175af456d3e0238c81fe8d4cb08025c529
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-09-19 (Thu, 19 Sep 2013)

  Changed paths:
    M numpy/core/src/multiarray/ctors.c
    M numpy/core/tests/test_api.py

  Log Message:
  -----------
  Merge pull request #3765 from charris/forward-port-3761

BUG: Fix issue with PR #3491


Compare: https://github.com/numpy/numpy/compare/0c857a8e9025...df1456175af4


More information about the Numpy-svn mailing list