diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-07-03 21:25:11 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-07-03 21:25:11 (GMT) |
commit | ac91341333d27bf39dd8b8c1c3164b5bdc19f03b (patch) | |
tree | 39cbb66e8f46780439a8ce370a46a92deb1a7d99 /Misc/NEWS | |
parent | 9cf960c94fcd2ec044e1525bb8c51f85c9048f35 (diff) | |
download | cpython-ac91341333d27bf39dd8b8c1c3164b5bdc19f03b.zip cpython-ac91341333d27bf39dd8b8c1c3164b5bdc19f03b.tar.gz cpython-ac91341333d27bf39dd8b8c1c3164b5bdc19f03b.tar.bz2 |
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.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -10,6 +10,9 @@ What's New in Python 3.2.2? Core and Builtins ----------------- +- When a generator yields, do not retain the caller's exception state on the + generator. + - Issue #12475: Prevent generators from leaking their exception state into the caller's frame as they return for the last time. |