From: Anthony Baxter Date: Mon, 2 Aug 2004 06:24:59 +0000 (+0000) Subject: notes for @decorator X-Git-Tag: v2.4a2~74 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32083f64a71c4ac80830231479914e40cbd8488b;p=thirdparty%2FPython%2Fcpython.git notes for @decorator --- diff --git a/Misc/ACKS b/Misc/ACKS index 40c9e79163c7..fae6fa41ffca 100644 --- 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 diff --git a/Misc/NEWS b/Misc/NEWS index 85de3048b72e..15713e945b70 100644 --- 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