diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-07-03 18:44:00 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-07-03 18:44:00 (GMT) |
commit | 83195c3f0cffc571e265ca7e42cbbe1f27c792e1 (patch) | |
tree | 715fce3d966235a79e37a059c7060a2814e62e6b /Misc/NEWS | |
parent | c77eccd608a8a7d74980b2257a2d2721435f7415 (diff) | |
download | cpython-83195c3f0cffc571e265ca7e42cbbe1f27c792e1.zip cpython-83195c3f0cffc571e265ca7e42cbbe1f27c792e1.tar.gz cpython-83195c3f0cffc571e265ca7e42cbbe1f27c792e1.tar.bz2 |
restore a generator's caller's exception state both on yield and (last) return
This prevents generator exception state from leaking into the caller.
Closes #12475.
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 ----------------- +- Issue #12475: Prevent generators from leaking their exception state into the + callers frame as they return for the last time. + Library ------- |