[Pyrex] [Bug?] Pyrex cannot convert python object to unsigned char?

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Sep 17 00:43:07 CEST 2007


Alexander Belchenko wrote:
>     def write_pixel(self, unsigned char pixel):
>         c_func(pixel)
> 
> foo.pyx:6:26: Cannot convert Python object argument to type 'unsigned char'

This appears to be a bug. I'll look into it.

Thanks,
Greg



More information about the Pyrex mailing list