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.)
This commit is contained in:
Guido van Rossum 2001-08-08 22:51:13 +00:00
parent 8eb16b1658
commit 396c032d68

View File

@ -5,7 +5,8 @@ Tasks:
Do binary operators properly. nb_add should try to call self.__add__ 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 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 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 not the same, and they're not instances, the fallback code doesn't