On 2 October 2011 12:04, Dag Sverre Seljebotn
wrote:
> On 10/02/2011 12:38 PM, mark florisson wrote:
>>
>> Hey,
>>
>> I'm unable to login in trac, but I found a bug in the buffer support:
>>
>> cimport cython
>> cimport numpy as np
>>
>> @cython.boundscheck(False)
>> @cython.wraparound(False)
>> c
On 10/02/2011 12:38 PM, mark florisson wrote:
Hey,
I'm unable to login in trac, but I found a bug in the buffer support:
cimport cython
cimport numpy as np
@cython.boundscheck(False)
@cython.wraparound(False)
cdef void func(np.ndarray[np.float32_t, ndim=2] a) nogil:
pass
This calls __Pyx
Hey,
I'm unable to login in trac, but I found a bug in the buffer support:
cimport cython
cimport numpy as np
@cython.boundscheck(False)
@cython.wraparound(False)
cdef void func(np.ndarray[np.float32_t, ndim=2] a) nogil:
pass
This calls __Pyx_GetBufferAndValidate, which needs the GIL.
When