On Feb 11, 2009, at 12:47 PM, Lisandro Dalcin wrote:

> 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

Well, yes and no. People used to be able to write "ctypedef unsigned  
long size_t" and have it work.

I pushed a fix and some tests. The public attribute stuff is slightly  
hacky, but I'm going to be revising that to handle complex types  
anyways.

BTW, I didn't see ulong <= size_t <= ulonglong ordering in PyrexTypes  
yet, did we get consensus on this?

- Robert

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to