[Cython] memoryview slice transpose

2014-03-27 Thread Syam Gadde
I wanted to re-offer for discussion a fix for a bug I reported a while back. The code that breaks is this: import numpy cimport numpy def testfunc(): a = numpy.arange(12).reshape([3,4]) cdef numpy.int_t[:,:] a_view = a cdef numpy.int_t[:,:] b = a_view[:,:].T One problem is that whe

Re: [Cython] line tracing/profiling code objects

2014-03-27 Thread Syam Gadde
Stefan, I'm sorry to be so long in responding. Your response was very helpful, but I had to suddenly change my focus to other projects. I've been looking at it again. I took the easy way out for now and attempted to name the codeobj objects deterministically, as you suggested at the end of yo