Skip Montanaro wrote:
Ok :). Yet I think I'm starting to agree with you and Alex that := should mean "this name is NON-local".
A couple more things:
- I think augmented assignments CAN be made "rebinding" without breaking code, since currently a += 1 fails if a is neither local nor global.
- Would := be allowed in statements like "self.a := 2"? It makes no sense, but since "(a, b) := (2, 3)" IS meaningful, what about "(a, b, self.c) = (1, 2, 3)"?