Dag Sverre Seljebotn wrote:
> Lisandro wrote:
>> Do any of you know how to make Cython complain about the code below?
>> Found some time ago, forgot to report:
>> http://code.google.com/p/mpi4py/issues/detail?id=2
>>
>>
>> cdef void foo(int i) nogil:
>>     pass
>>
>> def bar(arg):
>>     with nogil:
>>         foo(arg)
>>
> 
> It might be that I should reopen
> 
> http://trac.cython.org/cython_trac/ticket/273
> 
> if so, I know exactly how it should be done.
> 
> However the temporary above is an int, so it is probably not the right
> thing here...
> 
> Perhaps have a look at gil_check in NameNode?

... and if someone does, please do it in cython-unstable, which has
refactorings for both temps and nogil-checks. Fixing cython-devel here is
futile.

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to