diff options
author | Allan Haldane <allan.haldane@gmail.com> | 2015-10-17 14:00:36 -0400 |
---|---|---|
committer | Allan Haldane <allan.haldane@gmail.com> | 2015-10-17 21:52:13 -0400 |
commit | 3a816a4db9b498eb64eb837fdcca0fa8ddbe063e (patch) | |
tree | d6b554305d7ccb7c712da4c81a633f9bbd1741bd /numpy/core/_internal.py | |
parent | aaf115d89c591f0fa8149f1d6851589c79fa656a (diff) | |
download | numpy-3a816a4db9b498eb64eb837fdcca0fa8ddbe063e.tar.gz |
BUG: recarrays viewed as subarrays don't convert to np.record type
Record array views were updated in #5943 to return np.record dtype
where possible, but forgot about the case of sub-arrays.
That's fixed here, so accessing subarray fields by attribute or index
works sensibly, as well as viewing a record array as a subarray dtype,
and printing subarrays.
This also happens to fix #6459, since it affects the same lines.
Fixes #6497 #6459
Diffstat (limited to 'numpy/core/_internal.py')
0 files changed, 0 insertions, 0 deletions