A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-March/062643.html below:

[Python-Dev] Py3k: Except clause syntax

[Python-Dev] Py3k: Except clause syntaxAlex Martelli aleaxit at gmail.com
Mon Mar 20 05:08:48 CET 2006
On Mar 19, 2006, at 7:42 PM, Guido van Rossum wrote:
    ...
>> There seem to be other places where Python is beginning to require  
>> parens
>> even though they aren't strictly necessary to resolve syntactic  
>> ambiguity.
>
> In the style guide only, I hope. The parens that are mandatory in a
> few places *are* necessary to resolve ambiguity.

Technically, I believe the first place where this did not apply was  
list comprehensions, back in 2.2, since (for example) [x, y for y, x  
in whatever] could have been syntactically disambiguated but (quite  
reasonably, IMHO) [(x,y) for y,x in whatever] was mandated instead.


Alex

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4