cpython/Python
Benjamin Peterson 565d78586b normalize exceptions passed to the __exit__ method #7853
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.
2010-02-05 02:12:14 +00:00
..
_warnings.c Remove C++/C99-style comments. 2010-01-15 01:31:45 +00:00
asdl.c Merge in release25-maint r60793: 2008-06-11 07:41:16 +00:00
ast.c Issue #2333: Backport set and dict comprehensions syntax. 2010-01-11 22:36:12 +00:00
atof.c
bltinmodule.c account for PyObject_IsInstance's new ability to fail 2009-12-13 00:54:15 +00:00
ceval.c normalize exceptions passed to the __exit__ method #7853 2010-02-05 02:12:14 +00:00
codecs.c #7035: improve docs of the various <method>_errors() functions, and give them docstrings. 2009-10-22 15:42:32 +00:00
compile.c normalize exceptions passed to the __exit__ method #7853 2010-02-05 02:12:14 +00:00
dtoa.c dtoa.c fix from upstream that fixes incorrectly rounded results for certain subnormals that are also halfway cases. 2010-01-23 21:25:53 +00:00
dup2.c
dynload_aix.c Fix SF bug #1072182, problems with signed characters. 2005-12-19 06:05:18 +00:00
dynload_atheos.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c Oops, I forgot to include this file in the last commit (46046): 2006-05-19 07:05:01 +00:00
dynload_next.c Fix for 838140: don't call NSUnlinkModule when we fail to find our 2004-07-15 22:28:48 +00:00
dynload_os2.c
dynload_shlib.c Fix a warning from gcc by adding a missed const qualifier. 2006-01-04 01:30:17 +00:00
dynload_stub.c
dynload_win.c On Windows, use the Python 'Activation Context' when loading extensions 2009-01-27 23:12:23 +00:00
errors.c #7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new exceptions a docstring. 2009-12-28 08:34:58 +00:00
formatter_string.c Allow core Python build to succeed under WITHOUT_COMPLEX. The module build stage still fails. 2009-10-15 17:45:39 +00:00
formatter_unicode.c Issue #1588: Add complex.__format__. 2009-04-30 00:58:58 +00:00
frozen.c
frozenmain.c
future.c move unprefixed error into .c file 2008-10-30 23:59:18 +00:00
getargs.c Issue #5080: turn the DeprecationWarning from float arguments passed 2010-01-01 17:27:30 +00:00
getcompiler.c
getcopyright.c update copyright year 2010-01-01 04:00:55 +00:00
getcwd.c Define MAXPATHLEN to be at least PATH_MAX, if that's defined. Python uses 2006-04-25 15:29:46 +00:00
getopt.c Improve -X error message. 2008-04-13 20:50:29 +00:00
getplatform.c
getversion.c
graminit.c Issue #2333: Backport set and dict comprehensions syntax. 2010-01-11 22:36:12 +00:00
import.c Issue #2333: Backport set and dict comprehensions syntax. 2010-01-11 22:36:12 +00:00
importdl.c Patch #794826: Add __file__ in dynamically loaded modules for multiple 2003-09-04 18:45:59 +00:00
importdl.h PEP 302 + zipimport: 2002-12-30 22:08:05 +00:00
mactoolboxglue.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
marshal.c Set retval on PyOS_string_to_double failure. 2009-10-31 12:47:47 +00:00
modsupport.c This reverts r63675 based on the discussion in this thread: 2008-06-09 04:58:54 +00:00
mysnprintf.c Fix issue2588: Do not execute str[size-1] = '\0' when a 0 size is 2008-05-26 22:07:28 +00:00
mystrtoul.c Revert r61969 which added casts to Py_CHARMASK to avoid compiler warnings. 2008-03-28 04:58:51 +00:00
peephole.c Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython sprint. 2009-06-29 14:44:49 +00:00
pyarena.c Fix more memory allocation issues found with failmalloc. 2006-07-22 16:20:49 +00:00
pyctype.c Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors. 2009-04-27 19:04:37 +00:00
pyfpe.c
pymath.c Issue #7518: Move substitute definitions of C99 math functions from 2009-12-21 15:22:00 +00:00
pystate.c Adds a sanity check to avoid a *very rare* infinite loop due to a corrupt tls 2008-08-04 07:33:37 +00:00
pystrcmp.c Remove compiler warnings (on Alpha at least) about using chars as 2008-03-23 06:19:57 +00:00
pystrtod.c Correct typo in comment. 2010-01-22 16:18:09 +00:00
Python-ast.c Update version information for AST changes in r77422. 2010-01-11 22:46:43 +00:00
pythonrun.c Issue #1722344: threading._shutdown() is now called in Py_Finalize(), which 2009-10-20 21:29:37 +00:00
sigcheck.c
strdup.c
strtod.c Remove unnecessary curly braces around an int literal. 2008-02-07 08:04:07 +00:00
structmember.c check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604) 2009-12-30 19:34:10 +00:00
symtable.c Issue #2333: Backport set and dict comprehensions syntax. 2010-01-11 22:36:12 +00:00
sysmodule.c Issue #7819: Check sys.call_tracing() arguments types. 2010-01-31 22:32:15 +00:00
thread.c Issue #4893: Use NT threading on CE. 2009-01-12 08:11:24 +00:00
thread_atheos.h
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h Issue #4893: Use NT threading on CE. 2009-01-12 08:11:24 +00:00
thread_os2.h bugfix: PyThread_start_new_thread() returns the thread ID, not a flag; 2006-07-23 13:00:04 +00:00
thread_pth.h Patch #805613: Fix usage of the PTH library. 2003-09-20 11:13:36 +00:00
thread_pthread.h Patch #1454481: Make thread stack size runtime tunable. 2006-06-13 15:04:24 +00:00
thread_sgi.h Remove support for DYNIX, IRIX 4, --with-sgi-dl, --with-dl-dld 2004-01-17 04:04:13 +00:00
thread_solaris.h Patch #716969: Detect thread creation failure. Will backport to 2.2. 2003-04-19 07:44:52 +00:00
thread_wince.h bug 1234979 addition 2005-07-09 15:26:33 +00:00
traceback.c revert unintended changes 2009-09-09 11:42:57 +00:00