> Sounds good to me. Question: what does this do? > > def f(): > def g(x): > z := x ... > That is, in the absence of a pre-existing binding, where does the > binding for := go? I think it should be equivalent to global, going to > the module scope.
This is one place I think an extension of the global statement has a definite advantage:
def f(): def g(): global z in f z = x