Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Robert Bradshaw <robertwb-g7kksM1vlZHtJv9D6sJWnpVzexx5G7lz <at> public.gmane.org>
Subject: Re: [Cython] cython compiler crash
Newsgroups: gmane.comp.python.cython.devel
Date: Sunday 3rd October 2010 06:51:59 UTC (over 6 years ago)
On Fri, Oct 1, 2010 at 2:05 PM, Lisandro Dalcin
 wrote:
> On 1 October 2010 18:00, Vineet Jain
 wrote:
>> Problem was a typo:
>>
>> cdef np.ndarray[np, ndim=1] outreal = numpy.zeros_like(inreal)
>>
>> should have been:
>>
>> cdef np.ndarray[np.float_t, ndim=1] outreal = numpy.zeros_like(inreal)
>>
>> Which caused the compiler to crash.
>>
>
> OK, now all is clear. Anyway, Cython should not crash. We should fix
this.

Fixed. http://trac.cython.org/cython_trac/ticket/579

When trying to write a test case, I noticed that buffers are not very
good at continuing once they hit an error... This should be improved.

- Robert
 
CD: 3ms