]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
notes for @decorator
authorAnthony Baxter <anthonybaxter@gmail.com>
Mon, 2 Aug 2004 06:24:59 +0000 (06:24 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Mon, 2 Aug 2004 06:24:59 +0000 (06:24 +0000)
Misc/ACKS
Misc/NEWS

index 40c9e79163c72747e74086c68f3cfc97427bab18..fae6fa41ffca9a722e96d4b0c53a0d2876327b6d 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -495,6 +495,7 @@ Donald Wallace Rouse II
 Audun S. Runde
 Jeff Rush
 Sam Rushing
+Mark Russell
 Nick Russo
 Rich Salz
 Kevin Samborn
index 85de3048b72ee0ac8e62d60272dcce73208edcb0..15713e945b70a71acc339984195619913ba794a8 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,12 @@ What's New in Python 2.4 alpha 2?
 Core and builtins
 -----------------
 
+- PEP-0318, Function Decorators have been added to the language. These are
+  implemented using the Java-style @decorator syntax, like so:
+     @staticmethod
+     def foo(bar):
+  (The PEP needs to be updated to reflect this XXX before 2.4a2)
+
 - When importing a module M raises an exception, Python no longer leaves M
   in sys.modules.  Before 2.4a2 it did, and a subsequent import of M would
   succeed, picking up a module object from sys.modules reflecting as much