[Numpy-discussion] numpy.ascontiguousarray on byteswapped data !?
faltet at carabos.com
Fri Aug 11 15:55:06 CDT 2006
A Divendres 11 Agost 2006 22:02, Travis Oliphant va escriure:
> Sebastian Haase wrote:
> > I just found this in myCVS/numpy/numpy/core/tests/test_numerictypes.py
> > <code>
> > def normalize_descr(descr):
> > "Normalize a description adding the platform byteorder."
> > return out
> > </code>
> > Is that what I was talking about !? It's quite a big animal.
> > Would this be needed "everytime" I want to get a "systembyte-ordered
> > version" of a given type !?
> No, I'm not even sure why exactly that was written but it's just in the
> testing code.
I think this is my fault. Some months ago I contributed some testing code for
checking numerical types, and ended with this 'animal'. Sorry about that ;-)
>0,0< Francesc Altet http://www.carabos.com/
V V Cárabos Coop. V. Enjoy Data
More information about the Numpy-discussion