[Pyrex] BUG: Python string to char array convertion

Lenard Lindstrom len-l at telus.net
Tue May 23 20:10:52 UTC 2006


The following code compiles to invalid C code. The C code tries to 
assign a char * to a character array.


ctypedef char carray[10]

cdef carray a[1]
s = "abcdef"

a[0] = s


Lenard Lindstrom
<len-l at telus.net>




More information about the Pyrex mailing list