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
Raw File
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
.bzrignore
ยด.purify
autom4te.cache
config.log
config.cache
config.status
config.status.lineno
db_home
Makefile
buildno
python
build
Makefile.pre
platform
pyconfig.h
libpython*.a
python.exe
reflog.txt
tags
TAGS
.gdb_history
Doc/tools/sphinx
Doc/tools/jinja
Doc/tools/pygments
Doc/tools/docutils
Misc/python.pc
Modules/Setup
Modules/Setup.config
Modules/Setup.local
Modules/config.c
Parser/pgen
Lib/test/data/*
Lib/lib2to3/Grammar*.pickle
Lib/lib2to3/PatternGrammar*.pickle
back to top