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/062452.html below:

[Python-Dev] Py3k: Except clause syntax

[Python-Dev] Py3k: Except clause syntax [Python-Dev] Py3k: Except clause syntaxNick Coghlan ncoghlan at gmail.com
Thu Mar 16 10:27:32 CET 2006
Greg Ewing wrote:
> For Py3k, any thoughts on changing the syntax of
> the except clause from
> 
>    except <type>, <value>:
> 
> to
> 
>    except <type> as <value>:
> 
> so that things like
> 
>    except TypeError, ValueError:
> 
> will do what is expected?

+1 here

I actually had a go at figuring how to do this a long while back, but I have 
no idea what I ended up doing with the code (I think it died along with the 
old hard drive in my laptop).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
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