[Numpy-svn] [numpy/numpy] 02f338: BUG: Preserve identity of dtypes in make_mask_desc...

GitHub noreply at github.com
Mon Mar 6 11:58:04 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 02f33887b751d288ec2238143aa8048a74f731f2
      https://github.com/numpy/numpy/commit/02f33887b751d288ec2238143aa8048a74f731f2
  Author: Eric Wieser <wieser.eric at gmail.com>
  Date:   2017-03-03 (Fri, 03 Mar 2017)

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

  Log Message:
  -----------
  BUG: Preserve identity of dtypes in make_mask_descr

Partially addresses #8666


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

  Changed paths:
    M numpy/ma/core.py

  Log Message:
  -----------
  MAINT: Don't call internal recursion helpers elsewhere

Cleans up make_mask_descr, and adds a private _replace_dtype_fields, which
we need elsewhere to replace all dtypes with `object` instead of `bool`.

This new version also removes repeated calls to `np.dtype`, doing the conversion
only once.


  Commit: 66f1b8a5411e8265ed87ff7bf97c67960af2624d
      https://github.com/numpy/numpy/commit/66f1b8a5411e8265ed87ff7bf97c67960af2624d
  Author: ahaldane <ealloc at gmail.com>
  Date:   2017-03-06 (Mon, 06 Mar 2017)

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

  Log Message:
  -----------
  Merge pull request #8667 from eric-wieser/reuse-ma-dtype

BUG: Preserve identity of dtypes in make_mask_descr


Compare: https://github.com/numpy/numpy/compare/df9e134d1e40...66f1b8a5411e


More information about the Numpy-svn mailing list