summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-05-18 23:11:24 (GMT)
committerCollin Winter <collinw@gmail.com>2007-05-18 23:11:24 (GMT)
commit6290305e6722c20e17d3c73bd6a30c6448bead83 (patch)
treefc3cc9d13179cb407116ebac000400c9c294140a /Misc
parent6eb7bede72f044b0b6a73551c04281defc7fc489 (diff)
downloadcpython-6290305e6722c20e17d3c73bd6a30c6448bead83.zip
cpython-6290305e6722c20e17d3c73bd6a30c6448bead83.tar.gz
cpython-6290305e6722c20e17d3c73bd6a30c6448bead83.tar.bz2
Backport PEP 3110's new 'except' syntax to 2.6.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index fabd5f4..83f3da1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 2.6 alpha 1?
Core and builtins
-----------------
+- except clauses may now be spelled either "except E, target:" or
+ "except E as target:". This is to provide forwards compatibility with
+ Python 3.0.
+
- Deprecate BaseException.message as per PEP 352.
- Bug #1303614: don't expose object's __dict__ when the dict is