[Python-ideas] except expression

spir denis.spir at gmail.com
Thu Feb 13 11:45:00 CET 2014


On 02/13/2014 06:53 AM, Amber Yust wrote:
> The reason why I suggested 'for' is that it still flows somewhat naturally
> - it's using "for" in the sense of "associated with" or "in the place of".
> "I'll give you my None for your FooException."

True, but it is probably not wise to use a natural language preposition in two 
different syntactic schemas with two different meanings: here 'for' meaning 
either traversal loop or "expression-exception-condition" (would be ok if the 
meaning was the same).

d


More information about the Python-ideas mailing list