summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2006-04-24 04:37:15 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2006-04-24 04:37:15 (GMT)
commitda2268feecd4b956161ed7fdd05da125606189cc (patch)
tree0e387c87ccb58228c8030ad7951db225e0a13ec1 /Misc
parent27ec1a773c92b6a9a144a45334ce2b38ae6118b6 (diff)
downloadcpython-da2268feecd4b956161ed7fdd05da125606189cc.zip
cpython-da2268feecd4b956161ed7fdd05da125606189cc.tar.gz
cpython-da2268feecd4b956161ed7fdd05da125606189cc.tar.bz2
Fix contextlib.nested to cope with exit methods raising and handling exceptions
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 4d58aa1..c6fe5b1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -86,6 +86,9 @@ Extension Modules
Library
-------
+- Fixed contextlib.nested to cope with exceptions being raised and
+ caught inside exit handlers.
+
- Updated optparse module to Optik 1.5.1 (allow numeric constants in
hex, octal, or binary; add ``append_const`` action; keep going if
gettext cannot be imported; added ``OptionParser.destroy()`` method;
@@ -158,6 +161,9 @@ C API
Tests
-----
+- test_contextlib now checks contextlib.nested can cope with exceptions
+ being raised and caught inside exit handlers.
+
- test_cmd_line now checks operation of the -m and -c command switches
- The test_contextlib test in 2.5a1 wasn't actually run unless you ran