Kyle Lahnakoski wrote:
Here is a half baked idea:
class A: def assign(self, other):
# whatever this means
setattr(A, "<==", A.assign)
Some things that would need to be addressed to fully bake this idea:
What determines the precedence of these new operators?
How to distinguish left and right operator methods?