On 10/11/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Theerasak Photha wrote: > > >> 2/ functions that returns a status code and modify their arguments. > > > > Argument modification for lists with one item is *sometimes* used to > > emulate full lexical closure. (or at least that's what the folks on > > freenode #python told me) > > sounds like they (or you) are confusing "arguments" with "free > variables", though. here's an example of the latter:
This is (kind of) what we were talking about: http://www.c2.com/cgi/wiki?ClosuresThatWorkAroundFinalLimitation -- Theerasak -- http://mail.python.org/mailman/listinfo/python-list