[Python-ideas] Where-statement (Proposal for function expressions)

Daniel Stutzbach daniel at stutzbachenterprises.com
Thu Jul 16 22:30:52 CEST 2009


On Thu, Jul 16, 2009 at 1:51 PM, Paul Moore <p.f.moore at gmail.com> wrote:

> Thinking about it, the issue is that you're making where the *only*
> example in Python (that i can think of) of a non-defining construct
> which creates a new scope.


I think that's why the "where" clause is being proposed: because there's no
construct to create a new scope without defining a new class or function.

--
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-ideas/attachments/20090716/48a995aa/attachment.html>


More information about the Python-ideas mailing list