[Numpy-discussion] Behaviour of copy for structured dtypes with gaps
Stefan van der Walt
stefanv at berkeley.edu
Fri Apr 12 13:00:41 EDT 2019
On Fri, 12 Apr 2019 12:13:18 -0400, Allan Haldane wrote:
> I would be much more in favor of `copy` eliminating padding in the
> dtype, if dtypes with different paddings were considered equivalent.
> But they are not.
This, and the simplicity arguments, are fair points. Option (1) seems
like the safer option, then, although I'm still not sure we should "sign
a contract" to maintain exact byte-for-byte equivalence.
Stéfan
More information about the NumPy-Discussion
mailing list