Re: [Numpy-discussion] Struct alignment

2009-04-18 Thread David Cournapeau
On Sat, Apr 18, 2009 at 10:36 PM, Dag Sverre Seljebotn wrote: > I'm looking at fixing up support for NumPy record arrays in Cython, and > realize my knowledge of NumPy is a bit too limited. Searching the docs > didn't enlighten me, so: > > Does NumPy always use packed alignment for nested dtypes?

[Numpy-discussion] Struct alignment

2009-04-18 Thread Dag Sverre Seljebotn
I'm looking at fixing up support for NumPy record arrays in Cython, and realize my knowledge of NumPy is a bit too limited. Searching the docs didn't enlighten me, so: Does NumPy always use packed alignment for nested dtypes? In [35]: T Out[35]: dtype([('f0', 'http://mail.scipy.org/mailman/list