On Mon, Jul 21, 2008 at 8:40 PM, Stéfan van der Walt <[EMAIL PROTECTED]>
wrote:

> 2008/7/20 Ryan May <[EMAIL PROTECTED]>:
> >>arr
> > array([('JOE', 25.300000000000001), ('BOB', 27.899999999999999)],
> >      dtype=[('stid', '|S4'), ('temp', '<f8')])
>
> The code in SVN still breaks for more complicated dtypes, such as:
>
> np.dtype([('x', int), ('y', [('t', int), ('s', float)])])
>
> Please find attached a patch which addresses the issue (it passes all
> unit tests).
>

This bit is illegal syntax in Python 2.3

        X.append(tuple(conv(val) for (conv, val) in zip(converterseq,
vals)))

So this isn't going to work for 1.1.1

Chuck
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to