Commit 56f0aa6c authored by Benjamin Peterson's avatar Benjamin Peterson

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.
........
parent d71b2c1f
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment