Short syntax for try/pass

Chris Angelico rosuav at gmail.com
Tue Oct 14 16:39:19 CEST 2014


On Wed, Oct 15, 2014 at 1:28 AM, Ned Batchelder <ned at 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



More information about the Python-list mailing list