On Tue, May 5, 2009 at 6:28 PM, Stefan Behnel <[email protected]> wrote:
> I meant
>
>    cdef MyType(object) [(T,V)]:
>
> here, although I now noticed that there is already the "private type" syntax:
>
> cdef public class _Document [ type LxmlDocumentType, object LxmlDocument ]:
>    ...
>
> so this won't work straight away either...
>

But this would work anyway, right? Perhaps you could even support {}
for the [type ..., object ...]  part...

cdef public class MyBaseClass[T,V] [type MyBaseClass_Type, object
MyBaseClassObject ]:

cdef public class MyClass[T,V](MyBaseClass)[ type MyClass_Type, object
MyClassObject ]:


-- 
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
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to