Re: [Cython] -O3 causes MinGW to segfault python

2013-04-29 Thread David Hirschfeld
Forwarded because attachments were too large. The source files and generated .c file can now be viewed at: https://gist.github.com/dhirschfeld/5480711 Is this a bug or is the recommendation to not build with -O3? > > Build log, segfault and version info below. > Input files and generated .c file

[Cython] Fwd: MemoryView.is_f_contig sometimes not defined?

2013-02-09 Thread David Hirschfeld
Reposting because I think my original got blocked because of attachments. Apologies if this appears twice. I want to allow arbitrary C/F contiguous arrays as input to a cdef class so I can dispatch to a different calculation method in each case, avoiding a potentially costly copy. Unfortunately, i