summaryrefslogtreecommitdiff
path: root/numpy/array_api/_creation_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-02-03 14:38:21 -0600
committerSebastian Berg <sebastian@sipsolutions.net>2022-02-03 16:58:31 -0600
commit7c7e41f1a9e06bfe1c852e1971077a3fa6446db7 (patch)
tree751be9fd20a5c34e8cb6d2527402012624acc9cc /numpy/array_api/_creation_functions.py
parent9d9cc5ca473d52eeda693a254fc0a1cbd4f4f1c4 (diff)
downloadnumpy-7c7e41f1a9e06bfe1c852e1971077a3fa6446db7.tar.gz
ENH: Allow object and subarray dtypes in fromiter
Allows dtypes with objects (and subarray) in fromiter. There was never really a good reason for rejecting them. Otherwise does some maintanence (e.g. the array is contiguous, so no need to do complicated index calculations), improve the error message, and add tests for those things. Closes gh-4791, gh-15789
Diffstat (limited to 'numpy/array_api/_creation_functions.py')
0 files changed, 0 insertions, 0 deletions