diff options
author | Phillip J. Eby <pje@telecommunity.com> | 2006-03-25 00:28:24 (GMT) |
---|---|---|
committer | Phillip J. Eby <pje@telecommunity.com> | 2006-03-25 00:28:24 (GMT) |
commit | 6edd2586082f62a5ac61af5acab77b63919faa47 (patch) | |
tree | 183890c03fa62ea02b86afbcca1273427d03f72e /Doc | |
parent | bee071221419795d707a15286e08424d141a6ca6 (diff) | |
download | cpython-6edd2586082f62a5ac61af5acab77b63919faa47.zip cpython-6edd2586082f62a5ac61af5acab77b63919faa47.tar.gz cpython-6edd2586082f62a5ac61af5acab77b63919faa47.tar.bz2 |
Fix a problem with @contextmanager not detecting a broken generator
that yields after a throw(). Make @contextmanager not reraise
exceptions, but return a false value in that case instead. Add test
cases for both behaviors.
Diffstat (limited to 'Doc')
0 files changed, 0 insertions, 0 deletions