Chris Angelico wrote:
On Sat, Feb 22, 2014 at 10:57 AM, Greg Ewing
<greg.ew...@canterbury.ac.nz> wrote:

I'm still not convinced it would be all *that* difficult.
Seems to me it would be semantically equivalent to
renaming the inner variable and adding a finally clause
to unbind it. Is there something I'm missing?

An inner scope should shadow rather than unbinding.

It would. The name being unbound would be the renamed
inner one, not the one being shadowed.

--
Greg
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to