A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2007-January/070718.html below:

[Python-Dev] syntax misfeature (exception)

[Python-Dev] syntax misfeature (exception) [Python-Dev] syntax misfeature (exception)Anthony Baxter anthony at interlink.com.au
Sun Jan 21 05:51:26 CET 2007
On Sunday 21 January 2007 05:17, Josiah Carlson wrote:
> Neal Becker <ndbecker2 at gmail.com> wrote:
> [snip]
>
> > It's not a question, it's a critique.  I believe this is a
> > misfeature since it's so easy to make this mistake.
>
> And it is going away with Py3k.  Making it go away for Python 2.6
> would either allow for two syntaxes to do the same thing, or
> would require everyone to change their except clauses.  Neither
> is very desireable (especially if writing code for 2.6 makes it
> not work for 2.5).

Note that we do plan to add "except a as b" to 2.6 - we're just not 
ripping out the old way of doing it.

Anthony
-- 
Anthony Baxter     <anthony at interlink.com.au>
It's never too late to have a happy childhood.
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