[Numpy-discussion] Numpy on Mac OS X python 2.6

David Cournapeau cournape@gmail....
Mon Nov 24 22:02:13 CST 2008


On Tue, Nov 25, 2008 at 12:41 PM, Charles R Harris
<charlesr.harris@gmail.com> wrote:
>

> 1) This problem is specific to 2.6 and 2.5 works.

Yes

> 2) It's on Intel hardware?

Yes.

Here is a minimal test which shows the problem:

import numpy as np
assert np.dtype('<f4').isnative

This fails on python 2.6, but works on 2.5. In both cases,
sys.byteorder returns little. So for some reasons, dtype description
(see other failures) is not working on 2.6.

David


More information about the Numpy-discussion mailing list