]> granicus.if.org Git - python/commit
never retain a generator's caller's exception state on the generator after a yield...
authorBenjamin Peterson <benjamin@python.org>
Sun, 3 Jul 2011 21:25:11 +0000 (16:25 -0500)
committerBenjamin Peterson <benjamin@python.org>
Sun, 3 Jul 2011 21:25:11 +0000 (16:25 -0500)
commitac91341333d27bf39dd8b8c1c3164b5bdc19f03b
tree39cbb66e8f46780439a8ce370a46a92deb1a7d99
parent9cf960c94fcd2ec044e1525bb8c51f85c9048f35
never retain a generator's caller's exception state on the generator after a yield/return

This requires some trickery to properly save the exception state if the
generator creates its own exception state.
Lib/test/test_exceptions.py
Misc/NEWS
Python/ceval.c