On Tue, Jul 22, 2008 at 10:48 AM, Charles R Harris <charlesr.harris@gmail.com> wrote:


On Tue, Jul 22, 2008 at 10:23 AM, Pierre GM <pgmdevlist@gmail.com> wrote:
On Tuesday 22 July 2008 12:05:22 Charles R Harris wrote:

> Failed importing
> /usr/local/lib/python2.3/site-packages/numpy/ma/tests/test_mrecords.py:
> invalid syntax (mrecords.py, line 245)

Charles,
Can you import numpy.ma.mrecords ? And we're talking about the 1.1.x branch,
right ?

I fixed it, Pierre. You can't do

(_[1] for _ in ddtype.descr)

to get a tuple. Actually, I think this should fail in mainline also. Alan, does nose show import failures?

Well, it produces a generator object in python2.5, which zip accepts. I don't know in which Python version this feature was added.

Chuck