summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-02-26 21:10:16 (GMT)
committerBrett Cannon <bcannon@gmail.com>2007-02-26 21:10:16 (GMT)
commitf74225d63b84a4d3b508fd5657cfe2596633876a (patch)
tree572bea5b82c03c9b9267944370a2f43be0dd7945 /Misc
parent6baa4c4cc6d303bfdac7c6fd21371f3bc48c7e06 (diff)
downloadcpython-f74225d63b84a4d3b508fd5657cfe2596633876a.zip
cpython-f74225d63b84a4d3b508fd5657cfe2596633876a.tar.gz
cpython-f74225d63b84a4d3b508fd5657cfe2596633876a.tar.bz2
You can no longer catch non-BaseException objects; TypeError is raised if such
an object is listed in an 'except' clause.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c20793e..91e1f02 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -28,6 +28,8 @@ TO DO
Core and Builtins
-----------------
+- Objects listed in an 'except' clause must inherit from BaseException.
+
- PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;
and .keys(), .items(), .values() return dict views.