[Python-checkins] r77984 - python/branches/py3k

benjamin.peterson python-checkins at python.org
Fri Feb 5 03:14:20 CET 2010


Author: benjamin.peterson
Date: Fri Feb 5 03:14:20 2010
New Revision: 77984
Log:
Blocked revisions 77983 via svnmerge
........
 r77983 | benjamin.peterson | 2010年02月04日 20:12:14 -0600 (2010年2月04日) | 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.
........
Modified:
 python/branches/py3k/ (props changed)


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /