[Python-checkins] r55437 - peps/trunk/pep-0000.txt peps/trunk/pep-3129.txt
georg.brandl
python-checkins at python.org
Fri May 18 19:09:44 CEST 2007
Author: georg.brandl
Date: Fri May 18 19:09:42 2007
New Revision: 55437
Modified:
peps/trunk/pep-0000.txt
peps/trunk/pep-3129.txt
Log:
Add an acceptance note and mark PEP 3129 (class decorators) as final.
Modified: peps/trunk/pep-0000.txt
==============================================================================
--- peps/trunk/pep-0000.txt (original)
+++ peps/trunk/pep-0000.txt Fri May 18 19:09:42 2007
@@ -84,7 +84,6 @@
SA 3121 Extension Module Initialization & Finalization von Löwis
SA 3123 Making PyObject_HEAD conform to standard C von Löwis
SA 3127 Integer Literal Support and Syntax Maupin
- SA 3129 Class Decorators Winter
SA 3131 Supporting Non-ASCII Identifiers von Löwis
Open PEPs (under consideration)
@@ -189,6 +188,7 @@
SF 3107 Function Annotations Winter, Lownds
SF 3113 Removal of Tuple Parameter Unpacking Cannon
SF 3114 Renaming iterator.next() to .__next__() Yee
+ SF 3129 Class Decorators Winter
SF 3132 Extended Iterable Unpacking Brandl
Empty PEPs (or containing only an abstract)
@@ -499,7 +499,7 @@
SR 3126 Remove Implicit String Concatenation Jewett
SA 3127 Integer Literal Support and Syntax Maupin
SR 3128 BList: A Faster List-like Type Stutzbach
- SA 3129 Class Decorators Winter
+ SF 3129 Class Decorators Winter
SR 3130 Access to Current Module/Class/Function Jewett
SA 3131 Supporting Non-ASCII Identifiers von Löwis
SF 3132 Extended Iterable Unpacking Brandl
Modified: peps/trunk/pep-3129.txt
==============================================================================
--- peps/trunk/pep-3129.txt (original)
+++ peps/trunk/pep-3129.txt Fri May 18 19:09:42 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: 1-May-2007
@@ -47,7 +47,7 @@
The semantics and design goals of class decorators are the same as
for function decorators ([#semantics]_, [#goals]_); the only
difference is that you're decorating a class instead of a function.
-The following two snippets are semantically identical: ::
+The following two snippets are semantically identical::
class A:
pass
@@ -66,7 +66,7 @@
==============
Adapating Python's grammar to support class decorators requires
-modifying two rules and adding a new rule ::
+modifying two rules and adding a new rule::
funcdef: [decorators] 'def' NAME parameters ['->' test] ':' suite
@@ -91,6 +91,15 @@
Jack Diederich.
+Acceptance
+==========
+
+There was virtually no discussion following the posting of this PEP,
+meaning that everyone agreed it should be accepted.
+
+The patch was committed to Subversion as revision 55430.
+
+
References
==========
More information about the Python-checkins
mailing list