]> granicus.if.org Git - python/commit
Blocked revisions 77983 via svnmerge
authorBenjamin Peterson <benjamin@python.org>
Fri, 5 Feb 2010 02:14:20 +0000 (02:14 +0000)
committerBenjamin Peterson <benjamin@python.org>
Fri, 5 Feb 2010 02:14:20 +0000 (02:14 +0000)
commit56f0aa6c89fc8ff3a587062c7fba247d0aec504b
treef6332314b720f6892f0169898af0cf9b5719156b
parentd71b2c1f447dea03087a782dd6849ef41d07e823
Blocked revisions 77983 via svnmerge

........
  r77983 | benjamin.peterson | 2010-02-04 20:12:14 -0600 (Thu, 04 Feb 2010) | 9 lines

  normalize exceptions passed to the __exit__ method #7853

  In Python 2.x, exceptions in finally blocks are not normalized.  Since with
  statements are implemented using finally blocks, ceval.c had to be tweaked to
  distinguish between with finally blocks and normal ones.

  A test for the finalization of generators containing with statements was also
  added.
........