[Cython] wrong c file

Shang Yu yusunn at gmail.com
Sun Oct 19 16:10:08 CEST 2014


Hi dear all,
I'm trying cyhotn(0.21) with following code (hello.pyx)

cdef void cfun():
print "hello world"

if __name__ == "__main__":
cfun()

the generated c file has following line

static void "__hello" __pyx_f_5hello_cfun(void) {

which can't compiled by c compiler , what's wrong with this ?
Many thanks !!!


More information about the cython-devel mailing list