Leandro Pereira de Lima e Silva schrieb am 16.10.2015 um 16:04:
> I've think I've found a bug in Cython (or is this just a funny feature?).
> The error occurs when the variable name used as source for the iteration is
> also used as a value.
>
> Given the files test1.pyx (cython) and test2.py (pyt
Hello,
I've think I've found a bug in Cython (or is this just a funny feature?).
The error occurs when the variable name used as source for the iteration is
also used as a value.
Given the files test1.pyx (cython) and test2.py (python):
test1.pyx:
def test():
x = range(10)
return [x for
Hello,
I was wanting to use C++s' back_inserter in Cython, and I got it working.
I'm writing the list to ask about what more I should do before submitting a
pull request.
In short, the following definitions were sufficient:
##Define the basic iterator types (this is incomplete)
cdef extern from
Hi,
import cython as cy
y = cy.cast('list', x)
fails to compile with "AttributeError: 'TypecastNode' object has no
attribute 'typecheck'".
But the following examples do compile:
y = x
y = cy.cast('int', x)
Cheers
--
Carlos
___
cython-devel mailing
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
d