Creating a local variable scope.

Daniel Stutzbach daniel at stutzbachenterprises.com
Fri Sep 11 14:44:01 EDT 2009


2009/9/11 Johan Grönqvist <johan.gronqvist at gmail.com>

> I find several places in my code where I would like to have a variable
> scope that is smaller than the enclosing function/class/module definition.
>

For what it's worth, there was a relevant proposal on the python-ideas list
a few months back:

http://mail.python.org/pipermail/python-ideas/2009-July/005114.html
<http://mail.python.org/pipermail/python-ideas/2009-July/005114.html%20>

--
Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090911/99108b6e/attachment.html>


More information about the Python-list mailing list