mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
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:
parent
8eb16b1658
commit
396c032d68
3
PLAN.txt
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user