Robert Bradshaw, 20.12.2010 20:35: > On Sun, Dec 19, 2010 at 11:20 AM, Stefan Behnel wrote: >> The "__new__" method must be called "__cinit__". >> >> Without closer investigation, I suspect that the relevant change in Cython >> 0.14 is that it knows about "__new__" being a staticmethod. However, for >> cdef classes is silently translates "__new__" into "__cinit__" internally. >> It seems like both don't work together. > > Using __new__ instead of __cinit__ has been deprecated for years now, > how about turning it into a clean error (which would fix this bug).
+1, that's what I thought, too. Stefan _______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev