<div class="gmail_quote">2009/9/11 Johan Grönqvist <span dir="ltr"><<a href="mailto:johan.gronqvist@gmail.com">johan.gronqvist@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I find several places in my code where I would like to have a variable<br>
scope that is smaller than the enclosing function/class/module definition.<br></blockquote><div><br>For what it's worth, there was a relevant proposal on the python-ideas list a few months back:<br><br><a href="http://mail.python.org/pipermail/python-ideas/2009-July/005114.html%20">http://mail.python.org/pipermail/python-ideas/2009-July/005114.html </a><br>
</div></div><blockquote style="margin: 1.5em 0pt;">--<br>
Daniel Stutzbach, Ph.D.<br>
President, <a href="http://stutzbachenterprises.com">Stutzbach Enterprises, LLC</a>
</blockquote>