Robert Bradshaw wrote: > 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."
Pure python code isn't going to be defining any classes with cdef, so there shouldn't be any confusion. Certainly __add__/__radd__ should work as they do in Python in a pure Python class. If you're going to optimise pure Python classes by implementing them as types, then you would need to emulate __add__/__radd__ for them, whether in pure python mode or not. -- Greg _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
