On Feb 11, 2009, at 11:58 AM, Dag Sverre Seljebotn wrote: > Jason Evans wrote: >> Jason Evans 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 >> >> Here's another problem: >> >> cpdef float distanceGet(self, size_t x, size_t y): >> ^ >> ------------------------------------------------------------ >> >> /home/jasone/crux/crux/build/run/pkg/Crux/DistMatrix/__init__.pyx: >> 359:44: >> Cannot convert Python object argument to type 'size_t' (when parsing >> input arguments) >> >> Basically, size_t appears to have become an unusable type that is >> relegated to some sort of type purgatory. > > At this stage my vote is for rolling back the size_t changes and > file a > ticket for 0.11.1 instead.
I think the fix should be simple (I'll look at it later today, I'm off to catch the bus) but if not, lets roll it back. - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
