Michael Gilbert <michael.s.gilb...@gmail.com> added the comment: 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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9401> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com