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

GitHub noreply@github....
Thu Sep 19 11:54:37 CDT 2013


  Branch: refs/heads/maintenance/1.8.x
  Home:   https://github.com/numpy/numpy
  Commit: f200034eee16a97348400a0daa694870c703d2d9
      https://github.com/numpy/numpy/commit/f200034eee16a97348400a0daa694870c703d2d9
  Author: Jay Bourque <jay.bourque@continuum.io>
  Date:   2013-09-18 (Wed, 18 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: 3a0f4e0acdd0607e2bb0d36049cf55a9b6fb380f
      https://github.com/numpy/numpy/commit/3a0f4e0acdd0607e2bb0d36049cf55a9b6fb380f
  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 #3761 from ContinuumIO/2890_fix

Fix for PR #3491


Compare: https://github.com/numpy/numpy/compare/780cf38ba8d6...3a0f4e0acdd0


More information about the Numpy-svn mailing list