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.
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.