Staging
v0.8.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
c-api
data
distutils
documenting
extending
faq
howto
includes
install
library
reference
tools
tutorial
using
whatsnew
ACKS.txt -rw-r--r-- 4.3 KB
Makefile -rw-r--r-- 5.1 KB
README.txt -rw-r--r-- 4.9 KB
about.rst -rw-r--r-- 1.3 KB
bugs.rst -rw-r--r-- 2.8 KB
conf.py -rw-r--r-- 5.6 KB
contents.rst -rw-r--r-- 440 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 27.3 KB
license.rst -rw-r--r-- 37.8 KB
make.bat -rw-r--r-- 1.6 KB

README.txt

back to top