[Numpy-discussion] 1.1.1rc1 to be tagged tonight

Charles R Harris charlesr.harris@gmail....
Tue Jul 22 11:56:11 CDT 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080722/57ea0ecf/attachment-0001.html 


More information about the Numpy-discussion mailing list