From: Guido van Rossum Date: Wed, 8 Aug 2001 22:51:13 +0000 (+0000) Subject: Mark binary operators as done. X-Git-Tag: v2.2a3~725 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=396c032d68916cddce600607879c9908252f4d00;p=python Mark binary operators as done. (This file could stand some reorganization -- it's hard to tell the open items apart from those that are done or nearly done.) --- diff --git a/PLAN.txt b/PLAN.txt index 3f2ae8b079..a0d2bea8fb 100644 --- a/PLAN.txt +++ b/PLAN.txt @@ -5,7 +5,8 @@ Tasks: Do binary operators properly. nb_add should try to call self.__add__ and other.__radd__. I think I'll exclude base types that define any -binary operator without setting the CHECKTYPES flag. +binary operator without setting the CHECKTYPES flag. *** This is +done, AFAICT. Even supports __truediv__ and __floordiv__. *** Fix comparisons. There's some nasty stuff here: when two types are not the same, and they're not instances, the fallback code doesn't