Joachim Saul, 24.11.2009 20:59:
> cdef extern from "Python.h":
>      ctypedef class __builtin__.str  [object PyStringObject]:
>          pass

Remove the above and use the 'bytes' type in the rest of your code instead.
'str', 'unicode' and 'bytes' are builtin types in Cython.

Stefan

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to