4 Dec
2019
4 Dec
'19
11:40 a.m.
On Dec 3, 2019, at 08:31, Random832
What if there was a general mechanism to allow operators to be implemented by user code that does not belong to the class?
This seems like something you could build as an import hook pretty easily. Obviously it won’t be as efficient as something using new bytecodes would be, but I don’t think it would be too slow to play with and show off how it can be useful. And instead of people having to ask you how it deals with every edge case (as they think them up one by one), they could just test it.