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/2012-February/116158.html below:

[Python-Dev] PEP 409 update [was: PEP 409

[Python-Dev] PEP 409 update [was: PEP 409 - final?] [Python-Dev] PEP 409 update [was: PEP 409 - final?]Ethan Furman ethan at stoneleaf.us
Fri Feb 3 04:43:46 CET 2012
Tim Delaney wrote:
> In that case, would the best syntax be:
> 
>     raise Exception() from Ellipsis
> 
> or:
> 
>     raise Exception() from ...
> 
> ? I kinda like the second - it feels more self-descriptive to me than 
> "from Ellipsis" - but there's the counter-argument that it could look 
> like noise, and I think would require a grammar change to allow it there.

     raise Exception() from ...

is... well, I am now gleeful --  especially since I went to my fresh 
copy of Python 3.3.0a0 and did this:

--> ...
Ellipsis

--> raise ValueError from ...
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ValueError

Have I said lately how much I *love* Python?

~Ethan~
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