diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-02-03 14:38:21 -0600 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2022-02-03 16:58:31 -0600 |
commit | 7c7e41f1a9e06bfe1c852e1971077a3fa6446db7 (patch) | |
tree | 751be9fd20a5c34e8cb6d2527402012624acc9cc /numpy/array_api/_creation_functions.py | |
parent | 9d9cc5ca473d52eeda693a254fc0a1cbd4f4f1c4 (diff) | |
download | numpy-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