[Pyrex] Bug in CoerceFromPyTypeNode in 0.9.5
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Jan 30 00:09:00 UTC 2007
Helmut Jarausch wrote:
> Now Pyrex is stricter than C(++)
>
> cdef char ISO_UTF_buffer[ISO_UTF_buflen]
> .....
> self.buffer= ISO_UTF_buffer
> .....
> if self.buffer != <char*> ISO_UTF_buffer :
> =====================> ^^^^^^^
> this is necessary, now, otherwise Pyrex gives
> Invalid types for '!=' (char (*), char ([__pyx_e_2HE_ISO_UTF_buflen]))
That's a bug. I changed the way I handled the automatic
coercion from arrays to pointers, and it looks like I
messed something up here. I'll look into it.
Thanks,
Greg
More information about the Pyrex
mailing list