Staging
v0.5.1
https://github.com/python/cpython
Revision 565d78586babda2b62cbe4f89c2dd3cace79c0fa authored by Benjamin Peterson on 05 February 2010, 02:12:14 UTC, committed by Benjamin Peterson on 05 February 2010, 02:12:14 UTC
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.
1 parent 4a7ff1d
History
Tip revision: 565d78586babda2b62cbe4f89c2dd3cace79c0fa authored by Benjamin Peterson on 05 February 2010, 02:12:14 UTC
normalize exceptions passed to the __exit__ method #7853
Tip revision: 565d785
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.bzrignore -rw-r--r-- 462 bytes
.hgignore -rw-r--r-- 656 bytes
.hgtags -rw-r--r-- 3.8 KB
LICENSE -rw-r--r-- 13.8 KB
Makefile.pre.in -rw-r--r-- 38.9 KB
README -rw-r--r-- 52.9 KB
configure -rwxr-xr-x 739.7 KB
configure.in -rw-r--r-- 117.9 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 32.3 KB
setup.py -rw-r--r-- 83.1 KB

README

back to top