Mark Dickinson <dicki...@gmail.com> added the comment:

> PyNumber_Add ends up calling compare_add with the float as its first
> argument, which is impossible to do from Python.

[Assuming you mean complex_add.]  I think this bit is expected, though.  
complex_add (or float_add, or whatever) provides both the __add__ and __radd__ 
methods.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9930>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to