Konrad Hinsen wrote: > I think I found a bug in Pyrex; it generates bad C code for one of my > modules. Thanks, I'll look into this. > cdef class vector: > def __div__(vector self, double factor): ^^^^ BTW, you shouldn't assume that the first argument to __div__ is self. See Special Methods of Extension Types for details. -- Greg