Mark PEP 463 as rejected (#217)
This commit is contained in:
parent
31507c43c7
commit
5f82542ec4
34
pep-0463.txt
34
pep-0463.txt
|
@ -3,14 +3,46 @@ Title: Exception-catching expressions
|
||||||
Version: $Revision$
|
Version: $Revision$
|
||||||
Last-Modified: $Date$
|
Last-Modified: $Date$
|
||||||
Author: Chris Angelico <rosuav@gmail.com>
|
Author: Chris Angelico <rosuav@gmail.com>
|
||||||
Status: Draft
|
Status: Rejected
|
||||||
Type: Standards Track
|
Type: Standards Track
|
||||||
Content-Type: text/x-rst
|
Content-Type: text/x-rst
|
||||||
Created: 15-Feb-2014
|
Created: 15-Feb-2014
|
||||||
Python-Version: 3.5
|
Python-Version: 3.5
|
||||||
Post-History: 20-Feb-2014, 16-Feb-2014
|
Post-History: 20-Feb-2014, 16-Feb-2014
|
||||||
|
Resolution: https://mail.python.org/pipermail/python-dev/2014-March/133118.html
|
||||||
|
|
||||||
|
|
||||||
|
Rejection Notice
|
||||||
|
================
|
||||||
|
|
||||||
|
From https://mail.python.org/pipermail/python-dev/2014-March/133118.html:
|
||||||
|
|
||||||
|
"""
|
||||||
|
I want to reject this PEP. I think the proposed syntax is acceptable given
|
||||||
|
the desired semantics, although it's still a bit jarring. It's probably no
|
||||||
|
worse than the colon used with lambda (which echoes the colon used in a def
|
||||||
|
just like the colon here echoes the one in a try/except) and definitely
|
||||||
|
better than the alternatives listed.
|
||||||
|
|
||||||
|
But the thing I can't get behind are the motivation and rationale. I don't
|
||||||
|
think that e.g. dict.get() would be unnecessary once we have except
|
||||||
|
expressions, and I disagree with the position that EAFP is better than
|
||||||
|
LBYL, or "generally recommended" by Python. (Where do you get that? From
|
||||||
|
the same sources that are so obsessed with DRY they'd rather introduce a
|
||||||
|
higher-order-function than repeat one line of code? :-)
|
||||||
|
|
||||||
|
This is probably the most you can get out of me as far as a pronouncement.
|
||||||
|
Given that the language summit is coming up I'd be happy to dive deeper in
|
||||||
|
my reasons for rejecting it there (if there's demand).
|
||||||
|
|
||||||
|
I do think that (apart from never explaining those dreadful acronyms :-)
|
||||||
|
this was a well-written and well-researched PEP, and I think you've done a
|
||||||
|
great job moderating the discussion, collecting objections, reviewing
|
||||||
|
alternatives, and everything else that is required to turn a heated debate
|
||||||
|
into a PEP. Well done Chris (and everyone who helped), and good luck with
|
||||||
|
your next PEP!
|
||||||
|
"""
|
||||||
|
|
||||||
Abstract
|
Abstract
|
||||||
========
|
========
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue