Jason Evans wrote:
> Lisandro Dalcin wrote:
>> [...] this is spotting a portability
>> problem on your code in previous Cython versions :-).
>>
>> 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
> 
> I don't understand what portability problem you're referring to. 
> Assuming that size_t was defined to be unsigned long or unsigned long 
> long (depending on the platform), why would there be a problem?

Code created by Cython on one platform ought to work on another 
platform. And since Python.h provides that info about the size of size_t 
for you why bother to implement that independently?

> Thanks,
> Jason

Cheers,

Michael

> P.S.  The changes Robert pushed today allow my code to build and run 
> again.  Thanks Robert!
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
> 

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

Reply via email to