Re: [Numpy-discussion] Native byteorder representation

2007-02-02 Thread Francesc Altet
El dv 02 de 02 del 2007 a les 19:11 +0100, en/na Francesc Altet va escriure: > El dv 02 de 02 del 2007 a les 10:22 -0700, en/na Travis Oliphant va > escriure: > > Francesc Altet wrote: > > > > >Hi, > > > > > >We have been bitten by a small glitch related with the representation of > > >native byt

Re: [Numpy-discussion] Native byteorder representation

2007-02-02 Thread Francesc Altet
El dv 02 de 02 del 2007 a les 10:22 -0700, en/na Travis Oliphant va escriure: > Francesc Altet wrote: > > >Hi, > > > >We have been bitten by a small glitch related with the representation of > >native byteorders. Here is an example exposing the problem: > > > > > > > numpy.dtype('

Re: [Numpy-discussion] Native byteorder representation

2007-02-02 Thread Travis Oliphant
Francesc Altet wrote: >Hi, > >We have been bitten by a small glitch related with the representation of >native byteorders. Here is an example exposing the problem: > > > numpy.dtype('>>> >'=' > > numpy.dtype('>i4').newbyteorder('little').byteorder >'<' >

[Numpy-discussion] Native byteorder representation

2007-02-02 Thread Francesc Altet
Hi, We have been bitten by a small glitch related with the representation of native byteorders. Here is an example exposing the problem: >>> numpy.dtype('i4').newbyteorder('little').byteorder '<' [the example was run on a little endian machine] We thought that native byteorder were represented