On Tue, Dec 21, 2010 at 1:00 AM, Stefan Behnel <stefan...@behnel.de> wrote: > 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.
Done: https://github.com/cython/cython/commit/e3c9a78686b7a7f0d36da8e6189b1e1fb4037c73 _______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev