Joel's explanation is _much_ better than mine. :) On Saturday 22 March 2003 03:57 pm, Martin Weber wrote: > On Sun, Mar 23, 2003 at 07:52:46AM +0900, Joel VanderWerf wrote: > > (...) > > But in Python, the inner function only has access to the _object_, not > > to the original variable which refers to the object, and so you have to > > "box" the value inside an object if you want to have shared references. > > (.. ugliness ..) > > I think this is what is meant when people say Python does not have > > closures. > > Yikes. thanks for the clarification... been on the road so much with > lisp/scheme/ruby that I implied if you have access to the value, you'd > _of course_ have access to the binding, too :) > > -Martin -- Seth Kurtzberg M. I. S. Corp. 480-661-1849 seth / cql.com