[Numpy-svn] [numpy/numpy] 542390: BUG: Fix deepcopy regression for empty arrays.

GitHub noreply at github.com
Sat Mar 4 14:38:45 EST 2017


  Branch: refs/heads/maintenance/1.12.x
  Home:   https://github.com/numpy/numpy
  Commit: 542390d680d5779af1028591d1885af0ff6d25ed
      https://github.com/numpy/numpy/commit/542390d680d5779af1028591d1885af0ff6d25ed
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

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

  Log Message:
  -----------
  BUG: Fix deepcopy regression for empty arrays.

Deepcopy of empty arrays was failing because the nditer was constructed
without the NPY_ITER_ZEROSIZE_OK flag.

Closes #8536.


  Commit: 235632b4d01163e1b6ff01ab65ba3488068fcd5f
      https://github.com/numpy/numpy/commit/235632b4d01163e1b6ff01ab65ba3488068fcd5f
  Author: gfyoung <gfyoung17 at gmail.com>
  Date:   2017-03-04 (Sat, 04 Mar 2017)

  Changed paths:
    M numpy/core/numeric.py
    M numpy/core/tests/test_numeric.py

  Log Message:
  -----------
  BUG: Remove extra digit in binary_repr at limit

For negative numbers at the limit for a given
number of digits, we were appending an extra
digit unnecessarily.

Closes gh-8670.


  Commit: c6a583e763bf0b613f7811046d92d6030c4b150c
      https://github.com/numpy/numpy/commit/c6a583e763bf0b613f7811046d92d6030c4b150c
  Author: Matthew Brett <matthew.brett at gmail.com>
  Date:   2017-03-04 (Sat, 04 Mar 2017)

  Changed paths:
    M numpy/f2py/crackfortran.py

  Log Message:
  -----------
  BUG: PPC64el machines are POWER for Fortran

Fix Fortran kind detection for PPC64el.

See: gh-3424.


  Commit: 6a1a029614bd69da24c2bc6fe50669f170dc77b8
      https://github.com/numpy/numpy/commit/6a1a029614bd69da24c2bc6fe50669f170dc77b8
  Author: Shota Kawabuchi <shota.kawabuchi+Github at gmail.com>
  Date:   2017-03-04 (Sat, 04 Mar 2017)

  Changed paths:
    M numpy/ma/core.py
    M numpy/ma/tests/test_core.py

  Log Message:
  -----------
  BUG: Look up methods on MaskedArray in _frommethod

Fixes #8019


  Commit: 20e89a4e855875d24e96b7877fb22258eaeae5b7
      https://github.com/numpy/numpy/commit/20e89a4e855875d24e96b7877fb22258eaeae5b7
  Author: Eric Wieser <wieser.eric at gmail.com>
  Date:   2017-03-04 (Sat, 04 Mar 2017)

  Changed paths:
    M numpy/ma/core.py

  Log Message:
  -----------
  BUG: Fix asanyarray, workaround #8666


  Commit: 91374d117e1dea50467a14c0d697690ee9630c1b
      https://github.com/numpy/numpy/commit/91374d117e1dea50467a14c0d697690ee9630c1b
  Author: Eric Wieser <wieser.eric at gmail.com>
  Date:   2017-03-04 (Sat, 04 Mar 2017)

  Changed paths:
    M numpy/core/src/umath/ufunc_object.c
    M numpy/core/tests/test_umath.py

  Log Message:
  -----------
  BUG: Fixed undefined behavior when __array_wrap__ returns None

Now `None` is treated like any other return value, rather than a command
to segfault.


  Commit: 8d85989a1c269ecd18f2aec697ab38da96ed5307
      https://github.com/numpy/numpy/commit/8d85989a1c269ecd18f2aec697ab38da96ed5307
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2017-03-04 (Sat, 04 Mar 2017)

  Changed paths:
    M numpy/core/numeric.py
    M numpy/core/src/multiarray/methods.c
    M numpy/core/src/umath/ufunc_object.c
    M numpy/core/tests/test_numeric.py
    M numpy/core/tests/test_regression.py
    M numpy/core/tests/test_umath.py
    M numpy/f2py/crackfortran.py
    M numpy/ma/core.py
    M numpy/ma/tests/test_core.py

  Log Message:
  -----------
  Merge pull request #8739 from charris/backports-1.12.1

BUG: Backport bug fixes for 1.12.1


Compare: https://github.com/numpy/numpy/compare/e50b4cbd80fa...8d85989a1c26


More information about the Numpy-svn mailing list