Record the rejection of PEP 377
This commit is contained in:
parent
b26070deec
commit
d8a27c7d0e
15
pep-0377.txt
15
pep-0377.txt
|
@ -3,7 +3,7 @@ Title: Allow __enter__() methods to skip the statement body
|
||||||
Version: $Revision$
|
Version: $Revision$
|
||||||
Last-Modified: $Date$
|
Last-Modified: $Date$
|
||||||
Author: Nick Coghlan <ncoghlan@gmail.com>
|
Author: Nick Coghlan <ncoghlan@gmail.com>
|
||||||
Status: Draft
|
Status: Rejected
|
||||||
Type: Standards Track
|
Type: Standards Track
|
||||||
Content-Type: text/x-rst
|
Content-Type: text/x-rst
|
||||||
Created: 8-Mar-2009
|
Created: 8-Mar-2009
|
||||||
|
@ -29,6 +29,16 @@ The proposed change is to introduce a new flow control exception
|
||||||
statement body if ``__enter__()`` raises this exception.
|
statement body if ``__enter__()`` raises this exception.
|
||||||
|
|
||||||
|
|
||||||
|
PEP Rejection
|
||||||
|
=============
|
||||||
|
|
||||||
|
This PEP was rejected by Guido [2] as it imposes too great an increase
|
||||||
|
in complexity without a proportional increase in expressiveness and
|
||||||
|
correctness. In the absence of compelling use cases that need the more
|
||||||
|
complex semantics proposed by this PEP the existing behaviour is
|
||||||
|
considered acceptable.
|
||||||
|
|
||||||
|
|
||||||
Proposed Change
|
Proposed Change
|
||||||
===============
|
===============
|
||||||
|
|
||||||
|
@ -262,6 +272,9 @@ References
|
||||||
.. [3] Import-style syntax to reduce indentation of nested with statements
|
.. [3] Import-style syntax to reduce indentation of nested with statements
|
||||||
(http://mail.python.org/pipermail/python-ideas/2009-March/003188.html)
|
(http://mail.python.org/pipermail/python-ideas/2009-March/003188.html)
|
||||||
|
|
||||||
|
.. [4] Guido's rejection of the PEP
|
||||||
|
(http://mail.python.org/pipermail/python-dev/2009-March/087263.html)
|
||||||
|
|
||||||
|
|
||||||
Copyright
|
Copyright
|
||||||
=========
|
=========
|
||||||
|
|
Loading…
Reference in New Issue