On May 12, 2008, at 5:32 PM, Greg Ewing wrote: > Dag Sverre Seljebotn wrote: >> Wouldn't it be an idea (well, I suppose it's too late now, just >> wondering what you think) to call it __cadd__ instead then? > > If I were designing Pyrex over again, I might do > something like that. But then people would expect > __add__/__radd__ etc. to be emulated as well, and > that would be very complicated to support. > > It would also be rather inefficient.
I think at this point it would be too hard of a break with backwards compatibility to change. This does give support to supporting a "pure python" mode (e.g. for .py files) that would emulate the __add__/ __radd__ as well as allow stuff like "cdef = 3." - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
