[Python-checkins] r55442 - peps/trunk/pep-0000.txt peps/trunk/pep-3110.txt

collin.winter python-checkins at python.org
Fri May 18 22:30:55 CEST 2007


Author: collin.winter
Date: Fri May 18 22:30:49 2007
New Revision: 55442
Modified:
 peps/trunk/pep-0000.txt
 peps/trunk/pep-3110.txt
Log:
Mark PEP 3110 as final.
Modified: peps/trunk/pep-0000.txt
==============================================================================
--- peps/trunk/pep-0000.txt	(original)
+++ peps/trunk/pep-0000.txt	Fri May 18 22:30:49 2007
@@ -77,7 +77,6 @@
 SA 358 The "bytes" Object Schemenauer, GvR
 SA 3106 Revamping dict.keys(), .values() & .items() GvR
 SA 3109 Raising Exceptions in Python 3000 Winter
- SA 3110 Catching Exceptions in Python 3000 Winter
 SA 3111 Simple input built-in in Python 3000 Roberge
 SA 3112 Bytes literals in Python 3000 Orendorff
 SA 3115 Metaclasses in Python 3000 Talin
@@ -174,6 +173,7 @@
 SF 3104 Access to Names in Outer Scopes Yee
 SF 3105 Make print a function Brandl
 SF 3107 Function Annotations Winter, Lownds
+ SF 3110 Catching Exceptions in Python 3000 Winter
 SF 3113 Removal of Tuple Parameter Unpacking Cannon
 SF 3114 Renaming iterator.next() to .__next__() Yee
 SF 3129 Class Decorators Winter
@@ -480,7 +480,7 @@
 SF 3107 Function Annotations Winter, Lownds
 S 3108 Standard Library Reorganization Cannon
 SA 3109 Raising Exceptions in Python 3000 Winter
- SA 3110 Catching Exceptions in Python 3000 Winter
+ SF 3110 Catching Exceptions in Python 3000 Winter
 SA 3111 Simple input built-in in Python 3000 Roberge
 SA 3112 Bytes literals in Python 3000 Orendorff
 SF 3113 Removal of Tuple Parameter Unpacking Cannon
Modified: peps/trunk/pep-3110.txt
==============================================================================
--- peps/trunk/pep-3110.txt	(original)
+++ peps/trunk/pep-3110.txt	Fri May 18 22:30:49 2007
@@ -3,7 +3,7 @@
 Version: $Revision$
 Last-Modified: $Date$
 Author: Collin Winter <collinw at gmail.com>
-Status: Accepted
+Status: Final
 Type: Standards Track
 Content-Type: text/x-rst
 Created: 16-Jan-2006
@@ -185,29 +185,26 @@
 ``sys.exc_info()[2]`` respectively, a transformation that can be
 performed by ``2to3``'s ``sysexcattrs`` fixer.
 
+2.6 - 3.0 Compatibility
+-----------------------
 
-Open Issues
-===========
-
-"except" Statements in Python 2.x
------------------------------------
-
-It has been proposed that the grammar for ``except`` statements be
-changed to accommodate both Python 2's ``,`` and Python 3's ``as``
-between the statement's type and target portions. The grammar
-would thus change from ::
+In order to facilitate forwards compatibility between Python 2.6 and 3.0,
+the ``except ... as ...:`` syntax will be backported to the 2.x series. The
+grammar will thus change from::
 
 except_clause: 'except' [test [',' test]]
 
-to ::
+to::
 
 except_clause: 'except' [test [('as' | ',') test]]
 
-It has not been decided whether the proposed end-of-suite cleanup
-semantic for ``except`` statements should be included in the 2.x
-series.
+The end-of-suite cleanup semantic for ``except`` statements will not be
+included in the 2.x series of releases.
 
 
+Open Issues
+===========
+
 Replacing or Dropping "sys.exc_info()"
 --------------------------------------
 
@@ -224,6 +221,13 @@
 are defined in terms of ``sys.exc_info()``.
 
 
+Implementation
+==============
+
+This PEP was implemented in revisions 53342 [#r53342]_ and 53349
+[#r53349]_.
+
+
 References
 ==========
 
@@ -268,6 +272,12 @@
 
 .. [#replace-excinfo]
 http://mail.python.org/pipermail/python-3000/2007-January/005604.html
+ 
+.. [#r53342]
+ http://svn.python.org/view/python/branches/p3yk/?view=rev&rev=53342
+ 
+.. [#r53349]
+ http://svn.python.org/view/python/branches/p3yk/?view=rev&rev=53349
 
 
 Copyright


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /