Add an acceptance note and mark PEP 3129 (class decorators) as final.
This commit is contained in:
parent
e629017f4e
commit
363058f71e
|
@ -84,7 +84,6 @@ Index by Category
|
||||||
SA 3121 Extension Module Initialization & Finalization von Löwis
|
SA 3121 Extension Module Initialization & Finalization von Löwis
|
||||||
SA 3123 Making PyObject_HEAD conform to standard C von Löwis
|
SA 3123 Making PyObject_HEAD conform to standard C von Löwis
|
||||||
SA 3127 Integer Literal Support and Syntax Maupin
|
SA 3127 Integer Literal Support and Syntax Maupin
|
||||||
SA 3129 Class Decorators Winter
|
|
||||||
SA 3131 Supporting Non-ASCII Identifiers von Löwis
|
SA 3131 Supporting Non-ASCII Identifiers von Löwis
|
||||||
|
|
||||||
Open PEPs (under consideration)
|
Open PEPs (under consideration)
|
||||||
|
@ -189,6 +188,7 @@ Index by Category
|
||||||
SF 3107 Function Annotations Winter, Lownds
|
SF 3107 Function Annotations Winter, Lownds
|
||||||
SF 3113 Removal of Tuple Parameter Unpacking Cannon
|
SF 3113 Removal of Tuple Parameter Unpacking Cannon
|
||||||
SF 3114 Renaming iterator.next() to .__next__() Yee
|
SF 3114 Renaming iterator.next() to .__next__() Yee
|
||||||
|
SF 3129 Class Decorators Winter
|
||||||
SF 3132 Extended Iterable Unpacking Brandl
|
SF 3132 Extended Iterable Unpacking Brandl
|
||||||
|
|
||||||
Empty PEPs (or containing only an abstract)
|
Empty PEPs (or containing only an abstract)
|
||||||
|
@ -499,7 +499,7 @@ Numerical Index
|
||||||
SR 3126 Remove Implicit String Concatenation Jewett
|
SR 3126 Remove Implicit String Concatenation Jewett
|
||||||
SA 3127 Integer Literal Support and Syntax Maupin
|
SA 3127 Integer Literal Support and Syntax Maupin
|
||||||
SR 3128 BList: A Faster List-like Type Stutzbach
|
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
|
SR 3130 Access to Current Module/Class/Function Jewett
|
||||||
SA 3131 Supporting Non-ASCII Identifiers von Löwis
|
SA 3131 Supporting Non-ASCII Identifiers von Löwis
|
||||||
SF 3132 Extended Iterable Unpacking Brandl
|
SF 3132 Extended Iterable Unpacking Brandl
|
||||||
|
|
13
pep-3129.txt
13
pep-3129.txt
|
@ -3,7 +3,7 @@ Title: Class Decorators
|
||||||
Version: $Revision$
|
Version: $Revision$
|
||||||
Last-Modified: $Date$
|
Last-Modified: $Date$
|
||||||
Author: Collin Winter <collinw at gmail.com>
|
Author: Collin Winter <collinw at gmail.com>
|
||||||
Status: Accepted
|
Status: Final
|
||||||
Type: Standards Track
|
Type: Standards Track
|
||||||
Content-Type: text/x-rst
|
Content-Type: text/x-rst
|
||||||
Created: 1-May-2007
|
Created: 1-May-2007
|
||||||
|
@ -47,7 +47,7 @@ Semantics
|
||||||
The semantics and design goals of class decorators are the same as
|
The semantics and design goals of class decorators are the same as
|
||||||
for function decorators ([#semantics]_, [#goals]_); the only
|
for function decorators ([#semantics]_, [#goals]_); the only
|
||||||
difference is that you're decorating a class instead of a function.
|
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:
|
class A:
|
||||||
pass
|
pass
|
||||||
|
@ -91,6 +91,15 @@ A reference implementation [#implementation]_ has been provided by
|
||||||
Jack Diederich.
|
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
|
References
|
||||||
==========
|
==========
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue