> I agree that it is counter-intuitive for Python users, but these things are
> also non-trivial in Python. The Python API actually distinguishes between
> __add__ etc. and __radd__ etc., which are merged into a single function in
> Pyrex. Maybe that should be mentioned in the docs.

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? Having 
custom functionality is ok, but I think the expectations of Python 
compliancy gets bigger when it has the same name.

-- 
Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to