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] C++ structs, namespace, and auto-conversion of struct to dict

2016-02-01 Thread Kevin Thornton
Hi, I recently ran into an issue where I found that Cython will not generate code to auto-convert structs do dicts if the struct is declared in a C++ namespace. The issue has also been discussed here: http://stackoverflow.com/questions/29603562/auto-conversion-of-structs-to-dicts-in-cython While