Hello all, padding bytes can be relevant (for example hidden data). Why not add a new argument that the user can use to remove padding bytes?
On Fri, Apr 12, 2019, 20:01 Stefan van der Walt <stef...@berkeley.edu> wrote: > 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 > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@python.org > https://mail.python.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion