[Python-Dev] Re: [Zope-dev] ExtensionClass and __radd__()?
Greg Ward
gward@mems-exchange.org
Thu, 6 Jul 2000 09:23:41 -0400
On 06 July 2000, Pavlos Christoforou said:
> A quick note which you probably already know:
>
> grep add ExtensionClass.c gives:
[...lots...]
> whereas grep radd ExtensionClass.c returns nothing
Yep, did the same myself shortly after posting. It's not really clear
what 'py__add__' is and how it works, though, so it's not obvious if
'py__radd__' is the right thing to add, and if so how to add it.
Greg
If it's just a matter
of adding radd (and rsub, rmul, and rdiv) in all those places
--
Greg Ward - software developer gward@mems-exchange.org
MEMS Exchange / CNRI voice: +1-703-262-5376
Reston, Virginia, USA fax: +1-703-262-5367