summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorAnthony Baxter <anthonybaxter@gmail.com>2004-08-02 06:24:59 (GMT)
committerAnthony Baxter <anthonybaxter@gmail.com>2004-08-02 06:24:59 (GMT)
commit32083f64a71c4ac80830231479914e40cbd8488b (patch)
treec3c56fb5958996208ed94b78aa0cf68397fd9c13 /Misc/NEWS
parentc2a5a636545a88f349dbe3e452ffb4494b68e534 (diff)
downloadcpython-32083f64a71c4ac80830231479914e40cbd8488b.zip
cpython-32083f64a71c4ac80830231479914e40cbd8488b.tar.gz
cpython-32083f64a71c4ac80830231479914e40cbd8488b.tar.bz2
notes for @decorator
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 85de304..15713e9 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