[Python-Dev] closure semantics
Barry Warsaw
barry at python.org
Tue Oct 21 23:34:50 EDT 2003
On Tue, 2003-10-21 at 23:00, Jeremy Hylton wrote:
> I would prefer to see a separate statement similar to global that meant
> "look for the nearest enclosing binding." Rather than specifying that
> you want to use x from outer, you could only say you don't want x to be
> local. That means you'd always get intermediate.
Would those "up" bindings chain?
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20031021/eaa90213/attachment.bin
More information about the Python-Dev
mailing list