[Cython] except clause on nogil functions

Lisandro Dalcin dalcinl at gmail.com
Sat Aug 20 21:07:46 CEST 2011


On 20 August 2011 06:55, mark florisson <markflorisson88 at gmail.com> wrote:
>
> What about the syntax issue though? Should we fix that?
>

Long ago I also complained about that. Greg commented that we should
really accept "except" and "gil/nogil" in any position, so that

cdef int foo() except 0 with gil
cdef int foo() with gil except 0
cdef int bar() nogil except 0
cdef int bar() except 0 nogil

should be all valid.



-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169


More information about the cython-devel mailing list