Message116965
i think that, for example, the default __rsub__ implementation could be:
return self + -other
which should just do the right thing assuming the addition and negation functions already do the right thing for the class type.
anyway, any implementation should leave the option to override the default __r*__ methods, which would keep the implementation backwards compatible as well.
can i keep this open as a feature request?
thanks,
mike |
|
Date |
User |
Action |
Args |
2010-09-20 19:55:07 | Michael.Gilbert | set | recipients:
+ Michael.Gilbert, georg.brandl |
2010-09-20 19:55:07 | Michael.Gilbert | set | messageid: <1285012507.24.0.222981149433.issue9401@psf.upfronthosting.co.za> |
2010-09-20 19:55:05 | Michael.Gilbert | link | issue9401 messages |
2010-09-20 19:55:04 | Michael.Gilbert | create | |
|