[Cython] Potential bug: hole in "C <-> Python" conversion
Dieter Maurer
dieter at handshake.de
Fri Jun 29 11:25:53 CEST 2012
I have
cdef extern from *:
ctypedef char const_unsigned_char "const unsigned char"
cdef const_unsigned_char *c_data = data
leads to "Cannot convert Python object to 'const_unsigned_char *'"
while "cdef char *c_data = data" works.
Should the "ctypedef char const_unsigned_char" not ensure
that "char" and "const_unsigned_char" are used as synonyms?
--
Dieter
More information about the cython-devel
mailing list