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
[email protected]
https://mail.python.org/mailman/listinfo/cython-devel