[Cython] Cython 0.9.8.2 beta

Jim Kleckner jek-gmane at kleckner.net
Tue Nov 4 17:10:19 CET 2008


Robert Bradshaw wrote:
> Thanks for your reports.
...
>> On Nov 1, 2008, at 4:51 PM, Jim Kleckner wrote:
>>
>> This simple case causes the parser to fail:
>>
>> cdef int doublePointer(double* inOutArray):
>>      return 1
> 
> This is bad, surprised we haven't run into it before. This should  
> certainly be fixed before release.


In reducing the example, I guess I reduced it too far.
I coulda sworn I ran that specific file!

Try this, which is bad code but shouldn't cause an exception.
And has nothing to do with platforms.

cdef int foo((double*)inOutArray,):
    cdef int i
    i = <int> inOutArray
    return i


Separately, gmane seems to be broken and isn't getting the list feed.
I've reported the problem to gmane.discuss.  I hope this gets through...



More information about the Cython-dev mailing list