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/2014-March/133114.html below:

[Python-Dev] Requesting pronouncement on PEP 463: Exception-catching expressions

[Python-Dev] Requesting pronouncement on PEP 463: Exception-catching expressionsChris Angelico rosuav at gmail.com
Wed Mar 12 17:05:21 CET 2014
On Thu, Mar 13, 2014 at 2:44 AM, Barry Warsaw <barry at python.org> wrote:
> That being said, the colon really bothers me, despite what is written in
> "Common objections".  True, colons are used in places other than suite
> introduction, but with exception handling, colons *do* introduce a new suite,
> so its use here is jarring.  There may also be tooling issues (e.g. editors,
> syntax colorizers, parsers, etc.).

Tooling issues should already have been solved for lambda, but if you
don't like the colon, go with one of the other options - Brett
expressed support for 'then', which makes very good sense (it does
require creating a new keyword, but it's a fairly safe one).

ChrisA
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