Staging
v0.8.1
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
Tip revision: 565d78586babda2b62cbe4f89c2dd3cace79c0fa authored by Benjamin Peterson on 05 February 2010, 02:12:14 UTC
normalize exceptions passed to the __exit__ method #7853
normalize exceptions passed to the __exit__ method #7853
Tip revision: 565d785
File | Mode | Size |
---|---|---|
RPM | ||
TextMate | ||
Vim | ||
ACKS | -rw-r--r-- | 12.1 KB |
AIX-NOTES | -rw-r--r-- | 8.0 KB |
BeOS-NOTES | -rw-r--r-- | 1.4 KB |
BeOS-setup.py | -rw-r--r-- | 23.1 KB |
HISTORY | -rw-r--r-- | 669.2 KB |
NEWS | -rw-r--r-- | 193.6 KB |
NEWS.help | -rw-r--r-- | 2.5 KB |
PURIFY.README | -rw-r--r-- | 4.4 KB |
Porting | -rw-r--r-- | 1.9 KB |
README | -rw-r--r-- | 1.9 KB |
README.OpenBSD | -rw-r--r-- | 1.5 KB |
README.coverity | -rw-r--r-- | 845 bytes |
README.klocwork | -rw-r--r-- | 1.2 KB |
README.valgrind | -rw-r--r-- | 4.3 KB |
RFD | -rw-r--r-- | 3.9 KB |
SpecialBuilds.txt | -rw-r--r-- | 11.9 KB |
build.sh | -rwxr-xr-x | 9.3 KB |
cheatsheet | -rw-r--r-- | 103.6 KB |
developers.txt | -rw-r--r-- | 10.0 KB |
gdbinit | -rw-r--r-- | 4.5 KB |
indent.pro | -rw-r--r-- | 66 bytes |
pymemcompat.h | -rw-r--r-- | 3.1 KB |
python-config.in | -rw-r--r-- | 1.4 KB |
python-mode.el | -rw-r--r-- | 143.5 KB |
python-wing.wpr | -rw-r--r-- | 537 bytes |
python.man | -rw-r--r-- | 12.6 KB |
python.pc.in | -rw-r--r-- | 253 bytes |
setuid-prog.c | -rw-r--r-- | 5.3 KB |
valgrind-python.supp | -rw-r--r-- | 6.7 KB |
vgrindefs | -rw-r--r-- | 505 bytes |
Computing file changes ...