Francesc Altet wrote: > cdef char *toc > cdef object to > ... > toc = PyString_AsString(to) # get the pointer to the string Just doing toc = to in this context has the same effect. -- Greg