[Numpy-svn] [numpy/numpy] a93b86: BUG: automatically convert recarray dtype to np.re...

GitHub noreply at github.com
Fri Jun 19 17:38:50 EDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: a93b86217e9ff8cc1060aaf362cd682b518cfb7b
      https://github.com/numpy/numpy/commit/a93b86217e9ff8cc1060aaf362cd682b518cfb7b
  Author: Allan Haldane <allan.haldane at gmail.com>
  Date:   2015-06-19 (Fri, 19 Jun 2015)

  Changed paths:
    M doc/release/1.10.0-notes.rst
    M doc/source/reference/arrays.dtypes.rst
    M numpy/core/records.py
    M numpy/core/tests/test_records.py
    M numpy/doc/structured_arrays.py
    M numpy/ma/core.py
    M numpy/ma/tests/test_core.py

  Log Message:
  -----------
  BUG: automatically convert recarray dtype to np.record

Viewing an ndarray as a np.recarray now automatically converts
the dtype to np.record.

This commit also fixes assignment to MaskedArray's dtype attribute,
fixes the repr of recarrays with non-structured dtype, and removes
recarray.view so that viewing a recarray as a non-structured dtype
no longer converts to ndarray type.

Fixes #3581


  Commit: e42bea5f09b7056d37217c26efd9008bc7ff380a
      https://github.com/numpy/numpy/commit/e42bea5f09b7056d37217c26efd9008bc7ff380a
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2015-06-19 (Fri, 19 Jun 2015)

  Changed paths:
    M doc/release/1.10.0-notes.rst
    M doc/source/reference/arrays.dtypes.rst
    M numpy/core/records.py
    M numpy/core/tests/test_records.py
    M numpy/doc/structured_arrays.py
    M numpy/ma/core.py
    M numpy/ma/tests/test_core.py

  Log Message:
  -----------
  Merge pull request #5943 from ahaldane/record_finalize

BUG: automatically convert recarray dtype to np.record


Compare: https://github.com/numpy/numpy/compare/d033b6e19fc9...e42bea5f09b7


More information about the Numpy-svn mailing list