
July 20, 2010
5:29 a.m.
Sergio Davis writes:
I'm considering the following extension to Python's grammar: adding the 'where' keyword, which would work as follows:
where_expr : expr 'where' NAME '=' expr
We just had a long thread about this. http://mail.python.org/pipermail/python-ideas/2010-June/007476.html The sentiment was about -0 to -0.5 on the idea in general, although a couple of people with experience in implementing Python syntax expressed sympathy for it. There have also been threads on earlier variations of the idea, referenced in the thread above. HTH