]> granicus.if.org Git - python/commit
Fix a bug in nested() - if one of the sub-context-managers swallows the
authorGuido van Rossum <guido@python.org>
Wed, 1 Mar 2006 17:10:01 +0000 (17:10 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 1 Mar 2006 17:10:01 +0000 (17:10 +0000)
commita9f068726fb4cf3693bd70b4b98bd0deaba45443
tree1f34c66af4697944ee39965dd03813fb3b28a4ce
parent6db0e00d571781806cb850088365730fa64e80a6
Fix a bug in nested() - if one of the sub-context-managers swallows the
exception, it should not be propagated up.  With unit tests.
Lib/contextlib.py
Lib/test/test_contextlib.py