summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-07-12 11:11:42 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2020-07-12 11:50:09 -0500
commit74183b6fa257ae8d309286669afc0b93e90dd59b (patch)
tree09774c326ecf687bd2442df1170e9d64e51af6a5 /numpy/array_api/_array_object.py
parent4a54bc458b93adbea75cb3ba05978ab327ff1552 (diff)
downloadnumpy-74183b6fa257ae8d309286669afc0b93e90dd59b.tar.gz
BUG: Do not inherit flags from the structured part of a union dtype
Such a union dtype (I would like to just not have them...) should behave like the main dtype normally. The only use of the union part should be to allow field access. In all other cases behaviour should not be affected by the existance of fields, but inheriting fields will affect it. The exception is the `void` dtype, which explicitly uses its fields and thus must inherit flags from the contained dtypes.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions