diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-02-26 21:10:16 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-02-26 21:10:16 (GMT) |
commit | f74225d63b84a4d3b508fd5657cfe2596633876a (patch) | |
tree | 572bea5b82c03c9b9267944370a2f43be0dd7945 /Misc | |
parent | 6baa4c4cc6d303bfdac7c6fd21371f3bc48c7e06 (diff) | |
download | cpython-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/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. |