Re: [Cython] Cython 0.23.4: Crash with Template Stuff

2016-02-02 Thread Robert Bradshaw
+1 to a better error message. Pull requests accepted :). As for actually implementing this feature, the pull request has been bogged down in trying to accept expressions and types in exactly the right places. (It's messy because one needs both Fizzle[bubble*] and Fizzle[bubble*bubble] to parse...

Re: [Cython] Cython 0.23.4: Crash with Template Stuff

2016-02-01 Thread Elizabeth Fischer
I think you've figured out what's going on. Short of adding the feature, is it possible to add a better error message, rather than what looks like a random crash? -- Elizabeth On Mon, Feb 1, 2016 at 8:08 PM, Kevin Thornton wrote: > Without knowing more about the "blitz" stuff, it is hard to

Re: [Cython] Cython 0.23.4: Crash with Template Stuff

2016-02-01 Thread Kevin Thornton
That'd be nice, but the main developers will have to weigh in on that. On Mon, Feb 1, 2016 at 21:14 Elizabeth Fischer wrote: > I think you've figured out what's going on. Short of adding the feature, > is it possible to add a better error message, rather than what looks like a > random crash? >

Re: [Cython] Cython 0.23.4: Crash with Template Stuff

2016-02-01 Thread Kevin Thornton
Without knowing more about the "blitz" stuff, it is hard to provide detailed help. However, it looks like you have a template taking a non-typename as a parameter, which is not currently supported in Cython. In other words, the 1 in [double,1] is not a type name, and that causes Cython to give up

[Cython] Cython 0.23.4: Crash with Template Stuff

2016-01-31 Thread Elizabeth Fischer
Cython is crashing on me when I compile. See below. -- Elizabeth cython --version Cython version 0.23.4 Error compiling Cython file: ... #cdef int flags def test_double_blitz(a): cdef vector[int] v cdef cblitz.Array[double,1