Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79100

Re: Short syntax for try/pass

References <CAEhE+OknxQs0XdENq_MR=HyER1qz5_JXXRHxO35RYV3h-K13KQ@mail.gmail.com> <m1jbto$vv7$1@ger.gmane.org>
Date 2014-10-15 01:39 +1100
Subject Re: Short syntax for try/pass
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.14852.1413297563.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Oct 15, 2014 at 1:28 AM, Ned Batchelder <ned@nedbatchelder.com> wrote:
> PEP 463 proposes a short syntax for this use case:
> http://legacy.python.org/dev/peps/pep-0463/
>
> I'm not sure what became of it.

Not quite; PEP 463 is about the case where you then want a different
value instead. I'm fairly sure the PEP is in a "virtually rejected"
state, but I nudged about it a couple of times and didn't get any
certain response on the subject.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Short syntax for try/pass Chris Angelico <rosuav@gmail.com> - 2014-10-15 01:39 +1100

csiph-web