summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorAllan Haldane <allan.haldane@gmail.com>2015-03-05 16:58:18 -0500
committerAllan Haldane <allan.haldane@gmail.com>2015-06-17 13:51:43 -0400
commit3c1a13dea6a7e189675977ad65ea230ce4816061 (patch)
treeb9a55bd90db5f57470fdd4d3267bc9862e5dbae1 /numpy/core/arrayprint.py
parent8c86a0a879a9f6d8bc9b225e95512fd7f2fca964 (diff)
downloadnumpy-3c1a13dea6a7e189675977ad65ea230ce4816061.tar.gz
ENH: simplify field indexing of structured arrays
This commit simplifies the code in array_subscript and array_assign_subscript related to field access. This fixes #4806, and also removes a potential segfaults, eg if the array is indexed using an sequence-like object that raises an exception in getitem. Also fixes #5631, related to creation of structured dtypes with no fields (an unusual and probably useless edge case). Also moves all imports in _internal.py to the top. Fixes #4806. Fixes #5631.
Diffstat (limited to 'numpy/core/arrayprint.py')
0 files changed, 0 insertions, 0 deletions