G+: Today I find myself kind of wishing I …

David Coles
Today I find myself kind of wishing I could do generic in-place operations. For example, instead of `a += 1`, something like `a f= lambda x:  x + 1` or `iapply("a", lambda x: x + 1)`.

The main case would be for something like `d = {"a": 1}; d["a"] f= lambda x += 1`.

It kind of feels like it would almost be possible using vars() and some horrible abuse of scope modifiers...

(This is probably not a wise idea, but it's an interesting thought experiment)