Please also note that the code below also fails to cythonize. I bet this gotcha is not related to my latest patches for 'size_t'
cdef class A: cdef readonly Py_ssize_t n On Wed, Feb 11, 2009 at 5:32 PM, Jason Evans <[email protected]> wrote: > I have a class declaration that looks like: > > cdef class DistMatrix: > # ... > cdef readonly size_t ntaxa > > With the recent size_t-related changes, I now get the following > compilation error: > > C attribute of type 'size_t' cannot be accessed from Python > > I hope this isn't an intentional change... =) > > Jason > _______________________________________________ > Cython-dev mailing list > [email protected] > http://codespeak.net/mailman/listinfo/cython-dev > -- 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
