Record the rejection of PEP 377

This commit is contained in:
Nick Coghlan 2009-03-21 08:40:19 +00:00
parent b26070deec
commit d8a27c7d0e
1 changed files with 14 additions and 1 deletions

View File

@ -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
========= =========