[Cython] about subclassing strings and tuples

Lisandro Dalcin dalcinl at gmail.com
Tue Sep 9 05:56:05 CEST 2008


Stefan, I've just  saw your comments on Python-Dev list. You always
stress the point that if is not possible (or at least difficult) to
inherit (at the C-level) from the Py2.X builtin 'str' type. Just to be
completely sure I understand the whole issues... This problem also
applies to ANY object using 'PyObject_VAR_HEAD' macro (like
PyTupleObject or PyFrameObject), right?

-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594


More information about the Cython-dev mailing list