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
.hgignore
.gdb_history
.purify
.svn
Makefile
Makefile.pre
TAGS
autom4te.cache
build
buildno
config.cache
config.log
config.status
config.status.lineno
db_home
platform
pyconfig.h
python
python.exe
reflog.txt
tags
Lib/plat-mac/errors.rsrc.df.rsrc
Doc/tools/sphinx/
Doc/tools/docutils/
Doc/tools/jinja/
Doc/tools/pygments/
Misc/python.pc
Modules/Setup
Modules/Setup.config
Modules/Setup.local
Modules/config.c
Parser/pgen
core

syntax: glob
libpython*.a
*.o
*.pyc
*.pyo
*.pyd
*.cover
*.orig
*.rej
*~
Lib/lib2to3/*.pickle
Lib/test/data/*
PCbuild/*.exe
PCbuild/*.dll
PCbuild/*.pdb
PCbuild/*.lib
PCbuild/*.exp
PCbuild/*.o
PCbuild/*.ncb
PCbuild/*.bsc
PCbuild/Win32-temp-*
back to top