[Python-ideas] 'where' statement in Python?

Antoine Pitrou solipsis at pitrou.net
Wed Jul 21 00:28:03 CEST 2010

On Tue, 20 Jul 2010 23:27:49 +1000
Nick Coghlan <ncoghlan at gmail.com> wrote:
> For the record, I am personally +1 on the idea (otherwise I wouldn't
> have put so much thought into it over the years). It's just a *lot*
> harder to define complete and consistent semantics for the concept
> than people often realise.
> However, having the question come up twice within the last month
> finally inspired me to write the current status of the topic down in a
> deferred PEP: http://www.python.org/dev/peps/pep-3150/

I am worried that this complexifies Python syntax without any obvious
benefit in terms of expressive power, new abstractions, or concision.
There is a benefit (learning curve, readibility of foreign code) to a
simple syntax.

I am somewhere between -0.5 and -1.



More information about the Python-ideas mailing list