diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-09-28 18:12:14 -0500 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2020-09-28 18:51:18 -0500 |
commit | 127b262b0da014e624889532c3d4eb330ed2aa07 (patch) | |
tree | 8dd4519ed8e201e5552f97685f5fd048a8b9d2f1 /numpy/lib/function_base.py | |
parent | a1454867ab910a356588c511700c99ec6bef93b5 (diff) | |
download | numpy-127b262b0da014e624889532c3d4eb330ed2aa07.tar.gz |
BUG: Fix default void, datetime, and timedelta in array coercion
When converting an empty sequence to an array, datetimes would
use an incorrect itemsize (on master only).
The legacy behaviour of void is that it uses 8 bytes, which is
due to the fact that `[]` uses `float64` by default which has
8 bytes.
Diffstat (limited to 'numpy/lib/function_base.py')
0 files changed, 0 insertions, 0 deletions