Hi,

in cython 0.24.0a0 this:

----------
import cython as cy

@cy.cfunc
def f(cats):
    ''.join(c for c in cats)
----------

fails to compile with: Compiler crash in AnalyseDeclarationsTransform.

Nevertheless the following close variations do compile:

----------
import cython as cy

@cy.cfunc
def f(cats):
    ''.join([c for c in cats])
----------

----------
cdef f(cats):
    ''.join(c for c in cats)
----------

Cheers
--
Carlos
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to