This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michael.Gilbert
Recipients Michael.Gilbert, georg.brandl
Date 2010-09-20.19:55:04
SpamBayes Score 0.004066928
Marked as misclassified No
Message-id <1285012507.24.0.222981149433.issue9401@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-09-20 19:55:07Michael.Gilbertsetrecipients: + Michael.Gilbert, georg.brandl
2010-09-20 19:55:07Michael.Gilbertsetmessageid: <1285012507.24.0.222981149433.issue9401@psf.upfronthosting.co.za>
2010-09-20 19:55:05Michael.Gilbertlinkissue9401 messages
2010-09-20 19:55:04Michael.Gilbertcreate