[Numpy-discussion] Numpy on Mac OS X python 2.6
Tue Nov 25 01:10:51 CST 2008
On Mon, 2008-11-24 at 21:38 -0700, Charles R Harris wrote:
> On Mon, Nov 24, 2008 at 9:02 PM, David Cournapeau <firstname.lastname@example.org>
> On Tue, Nov 25, 2008 at 12:41 PM, Charles R Harris
> <email@example.com> wrote:
> > 1) This problem is specific to 2.6 and 2.5 works.
> > 2) It's on Intel hardware?
> Here is a minimal test which shows the problem:
> import numpy as np
> assert np.dtype('<f4').isnative
> So what does dtype(float32).descr and dtype(float32).byteorder show?
The expected: [('', '<f4')] and '='. I don't think the problem is with
the dtype itself (otherwise, almost all the tests would fail), but
rather in its description. Since I don't know much about dtype
internals, I don't really know where to look
More information about the Numpy-discussion