- Passing dtype instances other than the canonical (mainly native byte-order) ones to
dtype=
orsignature=
in ufuncs will now raise aTypeError
. We recommend passing the strings"int8"
or scalar typesnp.int8
since the byte-order, datetime/timedelta unit, etc. are never enforced. (Initially deprecated in NumPy 1.21.)