diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2006-04-24 04:37:15 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2006-04-24 04:37:15 (GMT) |
commit | da2268feecd4b956161ed7fdd05da125606189cc (patch) | |
tree | 0e387c87ccb58228c8030ad7951db225e0a13ec1 /Misc | |
parent | 27ec1a773c92b6a9a144a45334ce2b38ae6118b6 (diff) | |
download | cpython-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/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |